I have a multi-module
Maven project which is version controlled using SVN. I need to be able to release the modules independently, so each module has it's own trunk and maven version.
The directory structure is like this:
Since the Maven reactor expects the modules to be located directly below the parent, maven complains that it cannot find the modules because the modules are below it's trunk directory.
To work-around this, I appended
/trunk to the module path in the parent pom:
I also needed to add a
relativePath element to each module pom so that they could find the parent:
Is this normal, or is there some way to make the reactor SCM-aware, and deal with trunks and branches without the need to specify the path in each pom?