修改版本号
mvn versions:set -DnewVersion=2.50.1-SNAPSHOT
提交版本号
mvn versions:commit
撤销修改
mvn versions:revert
mvn versions:set -DnewVersion=2.50.1-SNAPSHOT
mvn versions:commit
mvn versions:revert
转载于:https://www.cnblogs.com/cosmoseeker/p/8387239.html