You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by JS Bournival <js...@jipiju.com> on 2010/01/29 19:50:35 UTC
maven release plugin version schemas
Hi all, I am using the maven release plugin for our many projects, and it is working fine. Poms all have version set to 1.0.0.BUILD-SNAPSHOT. Why am I using BUILD-SNAPSHOT instead of -SNAPSHOT? Answer: OSGi.
When we are releasing, we invoke the release:prepare goal with the needed parameter:
-DreleaseVersion=1.0.0
Now, if I don't specify this parameter, I end up with the value:
-DreleaseVersion=1.0.0.BUILD (the plugin stripped the -SNAPSHOT)
So I have to specify them if I want the correct behavior. Now, instead of specifying the exact value, is it possible to indicate a pattern for version bumping?
Thanks,
JS.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org