Would like to break down the question in two parts
- Does maven provide anyway to update release version individually for each module under a multi module project.
- The aggregator pom (root project) has a parent module and other dependent modules, hence want to release the parent module with a version and update that version in the other dependent modules.
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.