prenaud76
2010-07-27 14:46:34 UTC
The update-versions goal of the maven-release-plugin:2.0 is driving me nuts!
No matter what I do it keeps adding a -SNAPSHOT to the version I specify on
the command line, which leads me to believe the goal is intended to be used
only for development versions and not for release versions.
I want to use the plugin as part of an automated process, not interactively.
Something like this:
% mvn -B release:update-versions -DautoVersionSubmodules=true
-DdevelopmentVersion=1.0.0
Sadly, the resulting POMs end up with version 1.0.0-SNAPSHOT instead of
1.0.0, as desired. Does it mean that my only resort is to use the
versions-maven-plugin instead?
No matter what I do it keeps adding a -SNAPSHOT to the version I specify on
the command line, which leads me to believe the goal is intended to be used
only for development versions and not for release versions.
I want to use the plugin as part of an automated process, not interactively.
Something like this:
% mvn -B release:update-versions -DautoVersionSubmodules=true
-DdevelopmentVersion=1.0.0
Sadly, the resulting POMs end up with version 1.0.0-SNAPSHOT instead of
1.0.0, as desired. Does it mean that my only resort is to use the
versions-maven-plugin instead?
--
View this message in context: http://maven-users.828.n2.nabble.com/release-update-versions-only-for-development-versions-tp5342453p5342453.html
Sent from the maven users mailing list archive at Nabble.com.
View this message in context: http://maven-users.828.n2.nabble.com/release-update-versions-only-for-development-versions-tp5342453p5342453.html
Sent from the maven users mailing list archive at Nabble.com.