Reputation: 381
Would like to break down the question in two parts
Using maven 3.6.2
Have tried release:prepare-with-pom but it uses the root/parent version across all modules.
E.g.
AggregatorPom -> modules -- module1 (independent module, not dependent
on parent)
parent module
module2 (dependent on parent module)
module3 (dependent on parent module)
As per the above example I want to release each individual module with the next release version and when the parent module is released - would want to use the release version of parent in all the dependent modules.
Upvotes: 2
Views: 573
Reputation: 35795
From your description, may be the
https://github.com/danielflower/multi-module-maven-release-plugin
is what you are looking for.
It allows you to release different modules with different versions.
Upvotes: 2