mvn versions:set versions:commit -DnewVersion=1.0.0 On 27 July 2010 15:46, prenaud76 <patrick.ren...@ericsson.com> wrote:
> > 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? > > -- > 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. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >