Hi,
I have a multi module project (flat structure) as follows
parentpom (1.1-SNAPSHOT) moduleA (inherits parentpom version, depends on moduleB(1.1-SNAPSHOT)) moduleB (inherits parentpom version) aggregator (inherits parentpom version, aggregates moduleA, moduleB)
The aggregator allows me to build, install and deploy moduleA and moduleB at the same time, and appears to do what I expect.
When I try and do a release of version 1.1, I can't because moduleA depends on moduleB(1.1-SNAPSHOT), resulting in the following error: "Can't release project due to non released dependencies"
I thought that using the aggregator would allow me to do a "synchronised" release of moduleA and moduleB, automatically updating moduleA to depend on moduleB(1.1). What would be the correct way of achieving this?
Thanks