# Use versions:set from the versions-maven plugin: mvn versions:set -DnewVersion=2.50.1-SNAPSHOT # If you made a mistake, do mvn versions:revert # afterwards, or mvn versions:commit