I have a multi-module project.
parent POM (1.0-SNAPSHOT) |-- module1 (1.0-SNAPSHOT) |-- module2 (1.0-SNAPSHOT) `-- module3 (1.0-SNAPSHOT)
When I execute m
A flexible way to set poms versions, multi-modules projects included, is Versions Maven Plugin.
mvn versions:set -DnewVersion=your_new_version
It will adjust all pom versions, parent versions and children versions in a multi-module project.
then
mvn versions:commit
or
mvn versions:revert