I am designing a multi-module maven system along the lines recommended here (see answer by Carlspring) and here. The pattern is separating the parent from the aggregator.
This all works pretty well except for one thing. As I develop the parent module, I find that if the parent changes, I must rebuild it first before building my aggregate. Otherwise it will pull the parent from the repository, which will always be one revision behind.
Is there an easy way to force rebuilding of the parent and NOT relying on the repo? This seems like it will recur again and again as with bootstrap building.
UPDATE: someone asked for a directory layout. Perhaps this will help:
$ find . -name pom.xml
./pom.xml
./myappp008-cs/pom.xml
./myappp008-ds/pom.xml
./myappp008-gr/pom.xml
./myappp008-as/pom.xml
./myappp008-parent/pom.xml
The top level pom is the aggregator and the myapp008-parent pom is the parent.
Also, both of the two links I included show a directory layout similar to mine.