Hello!
I have a maven project with submodules:
A 1.0.0
All sub-modules of level 3 have the same version than its parent, for example version of module B-two is the same than its parent B.
If I change the version of my root project A to 2.0.0 and I run the command mvn versions:update-child-modules -DallowSnapshots=true from the root project then the version of the parent of the 3rd-level modules is updated: version of the C-one parent becomes 2.0.0!!
But that is not what I wish, I just want to update the version of artifact A and its direct children = modules of 2nd level.
Help! :)
Thanks. Chris.
Hello!
I have a maven project with submodules:
A 1.0.0
All sub-modules of level 3 have the same version than its parent, for example version of module B-two is the same than its parent B.
If I change the version of my root project A to 2.0.0 and I run the command
mvn versions:update-child-modules -DallowSnapshots=truefrom the root project then the version of the parent of the 3rd-level modules is updated: version of the C-one parent becomes 2.0.0!!But that is not what I wish, I just want to update the version of artifact A and its direct children = modules of 2nd level.
Help! :)
Thanks. Chris.