Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 54501 invoked from network); 8 Jan 2006 04:58:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jan 2006 04:58:26 -0000 Received: (qmail 65100 invoked by uid 500); 8 Jan 2006 04:58:26 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 64766 invoked by uid 500); 8 Jan 2006 04:58:24 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 64755 invoked by uid 99); 8 Jan 2006 04:58:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jan 2006 20:58:24 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jan 2006 20:58:22 -0800 Received: (qmail 23825 invoked by uid 89); 8 Jan 2006 04:58:01 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 8 Jan 2006 04:58:01 -0000 Message-ID: <106955043.1136696281689.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Sat, 7 Jan 2006 22:58:01 -0600 (CST) From: "Brian Fox (JIRA)" To: dev@maven.apache.org Subject: [jira] Created: (MNG-1944) cyclic dependencies causes maven to not include all transitive dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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: Blocker 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: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org