mvn versions:set build code example
Example 1: mvn versions set
mvn versions:set -DnewVersion=2.50.1-SNAPSHOT -DprocessAllModules
Example 2: mvn versions set
mvn versions:commit
mvn versions:set -DnewVersion=2.50.1-SNAPSHOT -DprocessAllModules
mvn versions:commit