I made a very simple mult-module project that has 3 levels of depth.
ie:
project
+- project-sub1 (jar packaging)
+- project-sub2 (pom packaging)
+- proj-sub2-sub1 (jar packaging)
When do a release:prepare, I get this:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Can't release project due to non released dependencies :
com.nortel.project:project-sub2:pom:0.0.8-SNAPSHOT
in project 'proj-sub2-sub1'
(com.nortel.project:proj-sub2-sub1:jar:0.0.8-SNAPSHOT)
None of the jar projects have any dependencies. All they do is print
hello world (as per the quick start archetype).
Here is my proj-sub2-sub1 pom in its entirety. The only reference to a
dependency is the parent pom.
<?xml version="1.0" encoding="UTF-8"?><project>
<parent>
<artifactId>project-sub2</artifactId>
<groupId>com.nortel.project</groupId>
<version>0.0.8-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>proj-sub2-sub1</artifactId>
<name>proj-sub2-sub1</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Anyone have any idea what the problem is?
---
Todd Thiessen
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]