maven项目使用了父子模块时,如果要升级版本号,需要一个个项目去修改,很麻烦。
可以使用以下命令完成这一工作:
mvn versions:set -DnewVersion=9.0.0 mvn versions:commit
等大地