[ http://jira.codehaus.org/browse/MNG-1944?page=all ]
Brett Porter updated MNG-1944:
------------------------------
Priority: Critical (was: Blocker)
Fix Version: 2.0.3
Pretty sure there is a workaround, downgrading from blocker.
> cyclic dependencies causes maven to not include all transitive dependencies
> ---------------------------------------------------------------------------
>
> Key: MNG-1944
> URL: http://jira.codehaus.org/browse/MNG-1944
> Project: Maven 2
> Type: Bug
> Components: POM
> Versions: 2.0.1
> Reporter: Brian Fox
> Priority: Critical
> Fix For: 2.0.3
>
>
> Try including dom4j 1.5.2 and see what dependencies are resolved. dom4j
> depends on jaxen, which depends on dom4j. When maven sees the cyclic
> dependency, it stops processing the jaxen dependency. This leaves everything
> else jaxen depends on not included in the final artifact list. This is mvn -x
> output:
> dom4j:dom4j:jar:1.5.2 (selected for compile)
> [DEBUG] stax:stax-api:jar:1.0 (selected for compile)
> [DEBUG] pull-parser:pull-parser:jar:2 (selected for compile)
> [DEBUG] jaxme:jaxme-api:jar:0.3 (selected for compile)
> [WARNING]
> This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
> [DEBUG] xml-apis:xml-apis:jar:1.0.b2 (selected for compile)
> [DEBUG] msv:xsdlib:jar:20030807 (selected for compile)
> [DEBUG] xpp3:xpp3:jar:1.1.3.3 (selected for compile)
> [DEBUG] dom4j:dom4j:jar:1.5.2 (removed - causes a cycle in the
> graph)
> [DEBUG] jaxen:jaxen:jar:1.1-beta-4 (selected for compile)
> [DEBUG] msv:relaxngDatatype:jar:20030807 (selected for compile)
> Notice that xerces and xom and everything else jaxen depends on isn't
> included.
> Taking dom4j out of the jaxen pom locally causes everything to be included:
> [DEBUG] com.stchome.maven.mojo:helloUser:jar:1.0-SNAPSHOT (selected for null)
> [DEBUG] dom4j:dom4j:jar:1.5.2 (selected for compile)
> [DEBUG] stax:stax-api:jar:1.0 (selected for compile)
> [DEBUG] pull-parser:pull-parser:jar:2 (selected for compile)
> [DEBUG] jaxme:jaxme-api:jar:0.3 (selected for compile)
> [WARNING]
> This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
> [DEBUG] xml-apis:xml-apis:jar:1.0.b2 (selected for compile)
> [DEBUG] msv:xsdlib:jar:20030807 (selected for compile)
> [DEBUG] xpp3:xpp3:jar:1.1.3.3 (selected for compile)
> [DEBUG] jaxen:jaxen:jar:1.1-beta-4 (selected for compile)
> [DEBUG] jdom:jdom:jar:b10 (selected for compile)
> [DEBUG] xom:xom:jar:1.0b3 (selected for compile)
> [DEBUG] xerces:xmlParserAPIs:jar:2.6.1 (selected for compile)
> [DEBUG] xerces:xercesImpl:jar:2.2.1 (selected for compile)
> [DEBUG] xalan:xalan:jar:2.6.0 (selected for compile)
> [WARNING]
> This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
> [DEBUG] xml-apis:xml-apis:jar:1.0.b2 (selected for compile)
> [WARNING]
> This artifact has been relocated to com.ibm.icu:icu4j:2.6.1.
> [DEBUG] com.ibm.icu:icu4j:jar:2.6.1 (selected for compile)
> [WARNING]
> This artifact has been relocated to javax.servlet:servlet-api:2.4.
> [DEBUG] javax.servlet:servlet-api:jar:2.4 (selected for compile)
> [WARNING]
> This artifact has been relocated to org.ccil.cowan.tagsoup:tagsoup:0.9.7.
> [DEBUG] org.ccil.cowan.tagsoup:tagsoup:jar:0.9.7 (selected for
> compile)
> [DEBUG] xerces:xmlParserAPIs:jar:2.6.1 (removed - nearer found: 2.6.2)
> [DEBUG] xerces:xmlParserAPIs:jar:2.6.2 (selected for compile)
> [DEBUG] xerces:xercesImpl:jar:2.2.1 (removed - nearer found: 2.6.2)
> [DEBUG] xerces:xercesImpl:jar:2.6.2 (selected for compile)
> [DEBUG] msv:relaxngDatatype:jar:20030807 (selected for compile)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]