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