Update of maven module version reference to parent pom

In a multi-module maven project the poms of the modules refer to the parent pom by using the parent’s version number. The module’s version normally will be taking from the parent pom. If the parent’s version changes, all the modules poms must be updated to reflect this change. This can be automatically done with the command:

mvn -N versions:update-child-modules

Leave a Reply

Your email address will not be published. Required fields are marked *