Re: about https://jira.codehaus.org/browse/MNG-5576 (Allow continuous delivery friendly versions)

2014-02-25 Thread Mirko Friedenhagen
Hello Karl-Heinz, thanks for you suggestions, I replaced classifier tests with type test-jar. As you stated release:prepare does not work because I do not have a SNAPSHOT-version. My other concern is still true, running: env revision=NULL mvn321 clean install still has the non-resolved property ${

Re: about https://jira.codehaus.org/browse/MNG-5576 (Allow continuous delivery friendly versions)

2014-02-24 Thread Karl Heinz Marbaise
Hi Mirko, > I just tried this with a small multimodule pet project, see the mvn321 branch (https://github.com/1and1/testlink-junit/compare/master...mvn321). Just forked it give it a try.. Now giving revision as a property (mvn321 -Drevision=NULL clean verify) does *not* work, enforcer compl

Re: about https://jira.codehaus.org/browse/MNG-5576 (Allow continuous delivery friendly versions)

2014-02-24 Thread Mirko Friedenhagen
Hello, I now removed "-SNAPSHOT" from the version strings, what I get now when running: env revision=123456 mvn321 clean install is: Installing /Users/mirko/workspace/foss/testlink-junit/pom.xml to /Software/nobackup/m2repo/net/oneandone/testlinkjunit/tljunit-parent/3.0.3-123456/tljunit-parent-3.0

Re: about https://jira.codehaus.org/browse/MNG-5576 (Allow continuous delivery friendly versions)

2014-02-24 Thread Mirko Friedenhagen
Hello, I now tried running `env revision=123456 mvn321 release:prepare`, but this does not work as release:prepare does not seem to use the information from the environment, I get: --- snip --- There are still some remaining snapshot dependencies. : Do you want to resolve them now? (yes/no) no: :

Re: about https://jira.codehaus.org/browse/MNG-5576 (Allow continuous delivery friendly versions)

2014-02-24 Thread Mirko Friedenhagen
Hello, I just tried this with a small multimodule pet project, see the mvn321 branch (https://github.com/1and1/testlink-junit/compare/master...mvn321). Now giving revision as a property (mvn321 -Drevision=NULL clean verify) does *not* work, enforcer complains about being not able to resolve the r

Re: about https://jira.codehaus.org/browse/MNG-5576 (Allow continuous delivery friendly versions)

2014-02-24 Thread Dan Tran
Thanks, that helps -D On Mon, Feb 24, 2014 at 12:23 PM, Karl Heinz Marbaise wrote: > Hi Dan, > > now you can write on your GAV definition a thing like: > > ... > ... > 1.0-${revision}-SNAPSHOT > > and via command line you can now do the following: > > mvn -Drevision=3456 clean test > > If you d

Re: about https://jira.codehaus.org/browse/MNG-5576 (Allow continuous delivery friendly versions)

2014-02-24 Thread Karl Heinz Marbaise
Hi Dan, now you can write on your GAV definition a thing like: ... ... 1.0-${revision}-SNAPSHOT and via command line you can now do the following: mvn -Drevision=3456 clean test If you done that via Maven 3.1.1 you get a warning with Maven 3.2.1 you don't. Kind regard Karl-Heinz Marbaise

about https://jira.codehaus.org/browse/MNG-5576 (Allow continuous delivery friendly versions)

2014-02-24 Thread Dan Tran
Now that Maven 3.2.1 is out. May I ask how this may be used? Thanks -D