Hello,
im working on a project with the following structure:
parent ---> sub1
parent ---> sub2
sub2 depends on sub1
poms:
parent:
<modelVersion>4.0.0</modelVersion>
<groupId>project</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
<version>1.0-DEV</version>
<name>the parent</name>
<modules>
<module>sub1</module>
<module>sub2</module>
</modules>
sub1:
<parent>
<artifactId>project</artifactId>
<groupId>parent</groupId>
<version>1.0-DEV</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>project</groupId>
<artifactId>sub1</artifactId>
<name>the sub1</name>
<version>1.0-DEV</version>
<packaging>jar</packaging>
sub2:
<parent>
<artifactId>project</artifactId>
<groupId>parent</groupId>
<version>1.0-DEV</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>project</groupId>
<artifactId>sub2</artifactId>
<name>the sub1</name>
<version>1.0-DEV</version>
<packaging>jar</packaging>
<dependency>
<groupId>project</groupId>
<artifactId>sub1</artifactId>
<version>1.0-DEV</version>
</dependency>
compile and package work fine, but when I try to generate my intellij files,
maven tries to download the sub1 artifact from repo1.maven.org:
Downloading:
http://repo1.maven.org/maven2/project/sub1/1.0-DEV/sub1-1.0-DEV.jar
[WARNING] An error occurred during dependency resolution of the following
artifact:...
Cant find any error in the parent-pom.. Anyone has an idea?
--
View this message in context:
http://www.nabble.com/idea---plugin-crossmodule-project-tf4372570s177.html#a12462912
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]