Hi all,
I have this directory layout:
projects
parent-proj
pom.xml
sub-proj
pom.xml
In parent-proj/pom.xml I have defined
<modules>
<module>../sub-proj</module>
</modules>
In sub-proj/pom.xml I have defined
<parent>
...
<relativePath>../parent-proj</relativePath>
</parent>
This works only if the sub-proj has defined a <groupId> identical to
that of the parent-proj. Otherwise, M2 complains that it cannot find the
artifact (the parent-proj POM).
In a normal multi-project layout this does not happen. I.e. I can define
other <groupId> or not define one at all and M2 will find the parent.
Any comments?
Adrian.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]