Use the versions plugin with e.g mvn versions:set -DnewVersion=1.2.3
manfred PS: And you should really use SNAPSHOT since release will NOT be retrieved again once they have been cached locally anywhere.. On Thu, September 6, 2012 8:43 pm, Billy Newman wrote: > I would like to use the release plugin to update versions on some of > my projects. However my company does not set SNAPSHOT versions in all > projects. I know, I know this is a bad habit but one in which I do > not have full control over at the moment :( > > That being said when I run mvn release:update-versions I get an error > saying that my current version is not a SNAPSHOT. Is there a property > I can set to override that? I.E. I know its not a snapshot but i > would like to run the update all the version #'s anyway. Is this > possible? > > Thanks in advance. > > Billy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
