Re: versions plugin does not show the maven-jar-plugin 2.3.2 as a new version

2011-11-24 Thread Oleg Estekhin
Hi Under some circumstances the maven checks for new versions in the local repository only. Force it to check the central explicitly with mvn -U versions:display-plugin-updates -Исходное сообщение- From: Gabriel Belingueres Sent: Monday, November 21, 2011 6:28 PM To: Maven Users List

Re: please unsubscribe

2011-11-24 Thread zuxiong lin
He doesnot want to subscribe users@maven.apache.org . He wanna quit it. 2011/11/24 Mohamed SIDI > I don't undestand what you wd like :(, may you be more clear > > Thanks ! > > 2011/11/24 Jesse Farinacci > > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands

Re: Maven 2 project migration to Maven 3

2011-11-24 Thread Stuart McCulloch
On 24 Nov 2011, at 15:02, Martin Sweeney wrote: > Hi, > I am just getting up to speed with maven and I have a couple of projects that > use maven. I have been fighting with with maven / dependencies / mirrors and > repositories for the better part of a week now with my projects always ending >

Maven 2 project migration to Maven 3

2011-11-24 Thread Martin Sweeney
Hi, I am just getting up to speed with maven and I have a couple of projects that use maven. I have been fighting with with maven / dependencies / mirrors and repositories for the better part of a week now with my projects always ending up with being unable to resolve dependencies. Usually on a

Re: maven 2 mirgration to maven 3

2011-11-24 Thread Manfred Moser
The build log with -X -e might help sussing that out..it might have to do with the fact that the dependency resolution in Maven 3 is done with a different library (aether) but could something different too.. And in terms of the file repo. Just install e.g. Nexus and copy it into the sonatype-w

RE: maven 2 mirgration to maven 3

2011-11-24 Thread Martin Sweeney
Manfred, Ok thanks, I will look into doing that with the simple example. Unfortunately I cannot get rid of the proxy server as I am behind a firewall here and that is the only route out. However the two maven repository servers could be a better way to handle the proxy and the repositories. I h

Re: maven 2 mirgration to maven 3

2011-11-24 Thread Manfred Moser
Most likely your problem is related to the proxy in settings.xml or the file:// repository in the pom. I would remove your pom.xml and try to build a simple project like the simple example from the maven book https://github.com/sonatype/simple-example Ideally without the proxy. In either ca

RE: maven 2 mirgration to maven 3

2011-11-24 Thread Martin Sweeney
Manfred, Thanks for the reply and the tip about pastebin - never heard of it. I have created two pastes in the pastebin My pom.xml http://pastebin.com/dRtyGVGz My settings.xml http://pastebin.com/NHK60YBG All the documentation that I have seen so far has suggested exactly as you say that m

Re: maven 2 mirgration to maven 3

2011-11-24 Thread Manfred Moser
Maven 3 should be a drop in replacement. You might have to show us your settings file. Also I would get rid of the manually installed artifacts since they most like dont have the pom file (unless you added it as well) and will cause you issues. In terms of file you will have to use pastebin

maven 2 mirgration to maven 3

2011-11-24 Thread Martin Sweeney
Hi, I am just getting up to speed with maven and I have a couple of projects that use maven. I have been fighting with maven / dependencies / mirrors and repositories for the better part of a week now with my projects always ending up with being unable to resolve dependencies. Usually on a bunc

Re: please unsubscribe

2011-11-24 Thread Mohamed SIDI
I don't undestand what you wd like :(, may you be more clear Thanks ! 2011/11/24 Jesse Farinacci > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > On Thu, Nov 24, 2011 at 7:05 AM, Thomas Flemming < > thomas.flemm...@u

Re: please unsubscribe

2011-11-24 Thread Jesse Farinacci
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org On Thu, Nov 24, 2011 at 7:05 AM, Thomas Flemming < thomas.flemm...@usit.uio.no> wrote: > unsubscribe > > > -

please unsubscribe

2011-11-24 Thread Thomas Flemming
unsubscribe - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: dependency:get complains repositoryUrl missing or invalid

2011-11-24 Thread Rice Yeh
Yes, Thanks. Rice On Thu, Nov 24, 2011 at 5:28 PM, Olivier Lamy wrote: > Oops my bad ! > Use -DrepoUrl=http://repo1.maven.org/maven2 > This is the correct expression for this parameter. > > http://maven.apache.org/plugins/maven-dependency-plugin/get-mojo.html#repositoryUrl > > > 2011/11/24 Rice

Re: dependency:get complains repositoryUrl missing or invalid

2011-11-24 Thread Olivier Lamy
Oops my bad ! Use -DrepoUrl=http://repo1.maven.org/maven2 This is the correct expression for this parameter. http://maven.apache.org/plugins/maven-dependency-plugin/get-mojo.html#repositoryUrl 2011/11/24 Rice Yeh : > I did have that space. > > On Thu, Nov 24, 2011 at 4:33 PM, Olivier Lamy wrote:

Re: Can tag in war plugin be used with Maven 1.0 ?

2011-11-24 Thread sundeepmalali
Hi, Ok, will have to move it to Maven 2. On a different note, does attachClasses only work with class files or does it include resources like libs, properties files etc also in the jar file created by the war plugin ? Thanks Sundeep -- View this message in context: http://maven.40175.n5.nabbl

Re: dependency:get complains repositoryUrl missing or invalid

2011-11-24 Thread Rice Yeh
I did have that space. On Thu, Nov 24, 2011 at 4:33 PM, Olivier Lamy wrote: > try > mvn dependency:get -X > -DrepositoryUrl=http://repo1.maven.org/maven2"SPACE > HERE"-DgroupId=org.apache.cxf > -DartifactId=cxf-rt-frontend-jaxrs -Dversion=2.5.0 > > instead of > > mvn dependency:get -X > -Dreposi

reporting and build plugin order

2011-11-24 Thread jasonn
In my maven pom I need to run two reporting plugins and a build plugin but in this order: reporting plugin 1(changelog) build plugin (xslt on the output of changelog) reporting plugin 2 (use the output of the xslt in another report) I can not see a way of running my build

Re: Can tag in war plugin be used with Maven 1.0 ?

2011-11-24 Thread Karl Heinz Marbaise
Hi, are you really talking about Maven 1. 0 ? If yes the maven-war-plugin would not work (i never tested it)... Migrate to Maven 2 or Maven 3 as soon as possible cause it will make your life easier... Kind regards Karl Heinz Marbaise - Kind regards Karl Heinz Marbaise http://www.soebes

Re: dependency:get complains repositoryUrl missing or invalid

2011-11-24 Thread Olivier Lamy
try mvn dependency:get -X -DrepositoryUrl=http://repo1.maven.org/maven2"SPACE HERE"-DgroupId=org.apache.cxf -DartifactId=cxf-rt-frontend-jaxrs -Dversion=2.5.0 instead of mvn dependency:get -X -DrepositoryUrl=http://repo1.maven.org/maven2-DgroupId=org.apache.cxf -DartifactId=cxf-rt-frontend-jaxrs

Re: dependency:get complains repositoryUrl missing or invalid

2011-11-24 Thread Rice Yeh
On Thu, Nov 24, 2011 at 3:01 PM, Olivier Lamy wrote: > A space maybe before the second -D ? > What do you mean? > > -- > Olivier > Le 24 nov. 2011 06:26, "Rice Yeh" a écrit : > > > Hi, > > I am using dependency:get to install a remote jar from the central > > repository to my local repository