I have a bunch of projects that all specify the same parent and
inherit the parent version. But the parent does not list the
corresponding projects as sub-modules hence its not an aggregator. I
need to use the maven-version-plugin:

http://mojo.codehaus.org/versions-maven-plugin/update-child-modules-mojo.html

to automatically update the version of the parent and the "child"
projects. This works fine if I convert the parent to an aggregator
(listing the child projects as modules) but is it possible to do it
without doing this conversion?

A more manual approach could be to:

1) Run mvn versions:set -DnewVersion=new-version on the parent
2) install the parent
3) For each child run mvn versions:update-parent -DallowSnapshots=true


but then I might as well convert the parent to an aggregator since
computing the list of children must be done anyway.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to