set version code example Example 1: mvn versions set Click to copymvn versions:set -DnewVersion=2.50.1-SNAPSHOT Example 2: mvn versions set Click to copymvn versions:commit