How to commit version update of child modules in a multi-module maven project? -
in multi-module maven project set versions in parent pom need execute:
mvn versions:set -dnewversion=<version_to_set>
then update version of parent in child modules need execute:
mvn -n versions:update-child-modules
the above 2 commands create files name pom.xml.versionsbackup besides original pom.xml. commit version update need execute:
mvn versions:commit
which deletes pom.xml.versionsbackup file parent pom.xml, not child modules.
how can delete pom.xml.versionsbackup files pom.xml of child modules?
Comments
Post a Comment