Remove -SNAPSHOT from project version in pom
Since version 2.10 of the Versions Maven Plugin you can simply do: mvn versions:set -DremoveSnapshot
Since version 2.10 of the Versions Maven Plugin you can simply do: mvn versions:set -DremoveSnapshot
Is there a simple way to rewrite a Maven property entry to a specific value Since version 2.5 we can use set-property (documentation): mvn versions:set-property -Dproperty=your.property -DnewVersion=arbitrary_value As documented, the set-property goal does not perform any ‘sanity checks’ on the value you specify, so it should always work, but you should use with care.
To prevent creating backup files, use generateBackupPoms instead: mvn versions:set -DgenerateBackupPoms=false -DnewVersion=3.9.0-SNAPSHOT I also saw that you can set up generateBackupPoms in the plugin section of a pom.xml if you want to do it that way. Note if you are using eclipse, you can run the command using a run configuration like this: See also: … Read more