Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0-alpha-6
-
None
-
None
Description
Using maven 2.2.1 if i build my test plugin that has a dependency on a project, which has a dependency on another project that is inaccessible for whatever reason, the build fails w/ an error as i would expect
Downloading: http://repository.sonatype.org/content/groups/forge/org/codehaus/swizzle/swizzle-parent/1-SNAPSHOT/swizzle-parent-1-SNAPSHOT.pom
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-parent:pom:1-SNAPSHOT' in repository sonatype-forge (http://repository.sonatype.org/content/groups/forge)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.codehaus.swizzle:swizzle-jira:jar:1.3.3-sonatype-2
Reason: Cannot find parent: org.codehaus.swizzle:swizzle-parent for project: org.codehaus.swizzle:swizzle-jira:jar:1.3.3-sonatype-2 for project org.codehaus.swizzle:swizzle-jira:jar:1.3.3-sonatype-2
[INFO] ------------------------------------------------------------------------
Doing this same build in maven3 gives me a warning rather than error, and the build continues
[WARNING] Invalid artifact metadata for org.codehaus.swizzle:swizzle-jira:jar:1.3.3-sonatype-2, transitive dependencies (if any) will not be available, enable debug logging for more details
This seems to me, that it is kind of hiding an error