Ho configurato il mio progetto Maven come 1 progetto shell e 4 moduli bambini. Quando provo a costruire la shell. Ottengo:
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project module1:1.0_A0 (C:\module1\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find shell:pom:1.0_A0 in http://nyhub1.ny.ssmb.com:8081/nexus/content/repositories/JBoss/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 11 -> [Help 2]
Se provo a costruire un modulo solitario ottengo lo stesso errore solo sostituire module1, con qualunque modulo fosse.
Invitali tutti a fare riferimento al genitore nei loro poms.
<parent>
<artifactId>shell</artifactId>
<groupId>converter</groupId>
<version>1.0_A0</version>
</parent>
Ecco le parti rilevanti del pom di conchiglia:
<groupId>converter</groupId>
<artifactId>shell</artifactId>
<version>1.0_A0</version>
<packaging>pom</packaging>
<name>shell</name>
<modules>
<module>module1</module>
<module>module2</module>
<module>module3</module>
<module>module4</module>
</modules>
mvn install -N & mvn install
<relativePath>..</relativePath>
under ha<parent></parent>
funzionato per me.