AW: mvn release:prepare does not update parent version

2013-07-23 Thread Markus Karg
Martin, I don't know why you're asking this. What has this to do with my actual scenario? I am doing something completely different and my question was not targeting your scenario. Thanks -Markus -Ursprüngliche Nachricht- Von: Martin Gainty [mailto:mgai...@hotmail.com] Gesendet: Diens

RE: chaining release:prepare release:perform for multi-module [I]

2013-07-23 Thread Martin Gainty
you can specify which goals to execute before the release to quote "A space separated list of goals to execute on deployment. Default value is either deploy or deploy site-deploy, if the project has a< distributionManagement>/ element. User property is: goals. http://maven.apache.org/maven

RE: ForkedBooter in 2.2.1 does not honor MAVEN_OPTS

2013-07-23 Thread Martin Gainty
Ben the reason why i always set forkMode to 'never' in my pom executing maven-surefire-plugin never -Djava.awt.headless=true directive *presumes* you are running awt GUI yet Iam not seeing any reference for java.awt in maven-surefire-plugin src (2.2.1 is at least 5 years old and has

maven surefire - selecting providers

2013-07-23 Thread Andreas Dolk
Hello all, we have maven builds for projects that use both jUnit and testNG tests. So I configured the maven surefire plugin to use multiple providers ( http://maven.apache.org/surefire/maven-surefire-plugin/examples/providers.html) and it works pretty well - apart from the problem, that now TestN

RE: mvn release:prepare does not update parent version

2013-07-23 Thread Martin Gainty
Markus Parent.pom | v - | | v

[RESULT] [VOTE] Retire Maven One Plugin

2013-07-23 Thread Dennis Lundberg
Hi, The vote has passed with the following result: +1 (binding): Olivier Lamy, Robert Scholte, Arnaud Héritier, Hervé Boutemy, Wayne Fay, Stephen Connolly, Ralph Goers, Brett Porter, Stephane Nicoll, Dennis Lundberg +1 (non binding): Anders Hammar, Lennart Jörelid, Baptiste Mathus I will continu

[RESULT] [VOTE] Retire Maven Model Converter

2013-07-23 Thread Dennis Lundberg
Hi, The vote has passed with the following result: +1 (binding): Arnaud Héritier, Hervé Boutemy, Wayne Fay, Stephen Connolly, Ralph Goers, Brett Porter, Dennis Lundberg +1 (non binding): Lennart Jörelid, Baptiste Mathus I will continue with the steps required to retire this shared component. On

[RESULT] [VOTE] Retire maven-idea-plugin

2013-07-23 Thread Dennis Lundberg
Hi, The vote has passed with the following result: +1 (binding): Arnaud Héritier, Robert Scholte, Stéphane Nicoll, Ralph Goers, Stephen Connolly, Olivier Lamy, Kristian Rosenvold, Wayne Fay, Brett Porter, Dennis Lundberg +1 (non binding): Lennart Jörelid, Anders Hammar, Baptiste Mathus, Chris Gra

RE: release prepare with git doesn't finish

2013-07-23 Thread Adrien Ruffié
Same thing maven chain parameter like ssh://git:adryen31:mypassword@rd1/myapp.git Just stupid parameters I think ... -Message d'origine- De : Francesco Mari [mailto:mari.france...@gmail.com] Envoyé : mardi 23 juillet 2013 14:02 À : Maven Users List Objet : Re: release prepare with git d

Re: mvn release:prepare does not update parent version

2013-07-23 Thread jieryn
Greetings, On Tue, Jul 23, 2013 at 7:45 AM, Markus Karg wrote: > But why is release:prepare explicitly asking me whether I want to update that > number and what that number is, when it is intended behaviour that it does > not actually set that number into the POM? I would understand all what yo

Re: Error of after running 'mvn package' command

2013-07-23 Thread Ron Wheeler
Did you put a setting.xml file there? Just put one there based on what is written http://maven.apache.org/settings.html Ron On 23/07/2013 7:10 AM, 邹志勇 wrote: Can you guys help me resolve it , my own project totally block by this problem. Thanks. At 2013-07-23 09:18:50,"邹志勇" wrote: Than

Re: release prepare with git doesn't finish

2013-07-23 Thread Francesco Mari
Try to use -Dusername to specify a user name, too. 2013/7/23 Adrien Ruffié > Operation does not work very well ... > > C:\Java\Workspaces\Indigo\myappcrm5>mvn > -Darguments="-Dmaven.test.skip=true -Pdistribution-packaging" > release:prepare release:perform -Dtag=Spring2013 > /005 -Dcom.myapp.fr

RE: release prepare with git doesn't finish

2013-07-23 Thread Adrien Ruffié
Operation does not work very well ... C:\Java\Workspaces\Indigo\myappcrm5>mvn -Darguments="-Dmaven.test.skip=true -Pdistribution-packaging" release:prepare release:perform -Dtag=Spring2013 /005 -Dcom.myapp.frontline:myapp-webapp=Spring2013/005 -Dcom.myapp.frontline:myapp-install-wizard=Spring201

AW: mvn release:prepare does not update parent version

2013-07-23 Thread Markus Karg
But why is release:prepare explicitly asking me whether I want to update that number and what that number is, when it is intended behaviour that it does not actually set that number into the POM? I would understand all what you say if the plugin would not ask for the next development version of

AW: mvn release:prepare does not update parent version

2013-07-23 Thread Markus Karg
You don't get my point. My problem is that the plugin asks me to provide the version to set for the tag, but it actually does not use it. This is what I complain about, solely. I don't want to update anything else. -Ursprüngliche Nachricht- Von: christofer.d...@c-ware.de [mailto:christo

Re:Re:Error of after running 'mvn package' command

2013-07-23 Thread 邹志勇
Can you guys help me resolve it , my own project totally block by this problem. Thanks. At 2013-07-23 09:18:50,"邹志勇" wrote: Thanks, when i invoke the command ' ls -al /home/zouzy/.m2 ' , it is the directory of repository, not have the file of setting.xml .

Re: release prepare with git doesn't finish

2013-07-23 Thread Francesco Mari
Please retry the same command line with -Dpassword="..." outside of -Darguments="...". Moreover, -Dpassphrase is not a valid argument for the goals you used. 2013/7/23 Adrien Ruffié > No sorry I have try following command : > > mvn -Darguments="-Dmaven.test.skip=true -Pdistribution-packaging >

RE: release prepare with git doesn't finish

2013-07-23 Thread Adrien Ruffié
No sorry I have try following command : mvn -Darguments="-Dmaven.test.skip=true -Pdistribution-packaging -Dpassword=mypassword" release:prepare release:perform --batch-mode -Dtag=Spring2013/005 -Dcom.myapp.frontline:myapp-webapp=Spring2013/005 -Dcom.myapp.frontline:myapp-install-wizard=Spring20

Re: release prepare with git doesn't finish

2013-07-23 Thread Adrien Rivard
Alternatively you could use 'ssh-add' (the most secure option IMO) before releasing or use a ssh key without password. On Tue, Jul 23, 2013 at 11:49 AM, Francesco Mari wrote: > The release:prepare goal has a password parameter which you can use from > the command line [1]. > > [1]: > > http://m

Re: release prepare with git doesn't finish

2013-07-23 Thread Francesco Mari
The release:prepare goal has a password parameter which you can use from the command line [1]. [1]: http://maven.apache.org/maven-release/maven-release-plugin/prepare-mojo.html#password 2013/7/23 Adrien Ruffié > Ok I have try without batch mode (on windows) and I have try to run the > previous

RE: release prepare with git doesn't finish

2013-07-23 Thread Adrien Ruffié
Ok I have try without batch mode (on windows) and I have try to run the previous command before it block ... "git push ssh://git@rd1/myapp.git release/Spring2013:release/Spring2013" and when I tried the following git line was prompt: Enter passphrase for key '/c/Users/a.ruffie/.ssh/id_rsa': Af

RE: release prepare with git doesn't finish

2013-07-23 Thread Adrien Ruffié
Ok great thank all, I first try without batch mode, but normally it's my Jenkins (on ubutun) which is supposed to release this job ... I try on jenkins and without batch mode and coming back to you later. Thank :-) -Message d'origine- De : Francesco Mari [mailto:mari.france...@gmail.com

Re: release prepare with git doesn't finish

2013-07-23 Thread Francesco Mari
I had a lot of issues using Git on Windows, especially combined with the Maven Release Plugin. It looks like that the issue is related to long path names. It may be that your project has long nested paths (usually Java applications have this problem). Try to move your project to a shorter path, e.

Re: release prepare with git doesn't finish

2013-07-23 Thread Baptiste MATHUS
Hi, Try not running in non batch mode to maybe get the message of what is being waited for. I also see you're running git on windows. That might be part of the issue, so also double check you use the latest maven-release-plugin version. cheers Le 23 juil. 2013 10:04, "Adrien Ruffié" a écrit : >

RE: mvn release:prepare does not update parent version

2013-07-23 Thread Adrien Ruffié
So this is a known bug or is it just a configuration error that I did? I have to specify all versions of each module of my reactor? Or it can take the basic version-DreleaseVersion for each module? -Message d'origine- De : christofer.d...@c-ware.de [mailto:christofer.d...@c-ware.de] Envo

Re: mvn release:prepare does not update parent version

2013-07-23 Thread Russell Gold
The example you mention updates the build artifacts only. When you release code, you would of course assign a version number to the release, and you can specify what snapshot version you want to use next. That makes the release consistent with all of the tests. It's simple labeling what is bein

AW: mvn release:prepare does not update parent version

2013-07-23 Thread christofer.d...@c-ware.de
Hi, is there actually a reason why only the artifacts in the build are updated? I would agree that without providing versions for artifacts manually, this could cause problems, but when using the feature described here: http://maven.apache.org/maven-release/maven-release-plugin/examples/non-inte

release prepare with git doesn't finish

2013-07-23 Thread Adrien Ruffié
Hello all I have a small problem, I try to release a branch version of my project with following command (-X is for debug only): Mvn -Darguments="-Dmaven.test.skip=true -Pdistribution-packaging" release:prepare --batch-mode -Dtag=Spring2013/005 -DreleaseVersion=Spring2013-005 -DdevelopmentV