Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 43068 invoked from network); 14 Jun 2010 14:44:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Jun 2010 14:44:22 -0000 Received: (qmail 36688 invoked by uid 500); 14 Jun 2010 14:17:42 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 36616 invoked by uid 500); 14 Jun 2010 14:17:41 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 36608 invoked by uid 99); 14 Jun 2010 14:17:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jun 2010 14:17:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jun 2010 14:17:35 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 88F1F17E0653 for ; Mon, 14 Jun 2010 09:17:13 -0500 (CDT) Date: Mon, 14 Jun 2010 09:17:13 -0500 (CDT) From: "Alex Deschapelles (JIRA)" To: issues@maven.apache.org Message-ID: <15330058.47237.1276525033546.JavaMail.haus-jira@codehaus01.managed.contegix.com> In-Reply-To: <6014151.1234385360115.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] Updated: (MNG-4029) Import of pom dependencies incorrectly scopes dependencies as runtime MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MNG-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Deschapelles updated MNG-4029: ----------------------------------- Attachment: testparent.tar.gz Redid the tarball > Import of pom dependencies incorrectly scopes dependencies as runtime > --------------------------------------------------------------------- > > Key: MNG-4029 > URL: http://jira.codehaus.org/browse/MNG-4029 > Project: Maven 2 & 3 > Issue Type: Bug > Components: Dependencies > Affects Versions: 2.0.9 > Reporter: Alex Deschapelles > Attachments: testparent.tar.gz, testparent.tar.gz > > > When dependencies are imported from a pom, they are resolved as runtime dependencies in the importing project. > To test > 1) Extract the attached project > 2) cd into the testparent directory > 3) mvn install > 4) cd subparent/projectx > 5) mvn dependency:resolve > This will bring back : > [INFO] The following files have been resolved: > [INFO] antlr:antlr:jar:2.7.6:runtime > [INFO] asm:asm:jar:1.5.3:runtime > [INFO] asm:asm-attrs:jar:1.5.3:runtime > [INFO] cglib:cglib:jar:2.1_3:runtime > [INFO] com.test:hibernate-deps:pom:0.0.1-SNAPSHOT:import > [INFO] com.test:spring-deps:pom:0.0.1-SNAPSHOT:import > [INFO] commons-collections:commons-collections:jar:2.1.1:runtime > [INFO] commons-logging:commons-logging:jar:1.1.1:runtime > [INFO] dom4j:dom4j:jar:1.6.1:runtime > [INFO] javax.transaction:jta:jar:1.0.1B:runtime > [INFO] junit:junit:jar:4.5:test > [INFO] net.sf.ehcache:ehcache:jar:1.2.3:runtime > [INFO] org.hibernate:hibernate:jar:3.2.6.ga:runtime > [INFO] org.springframework:spring:jar:2.5.6:runtime > It would be more appropriate if the resolved scopes matched what is in the pom that defines them. -- 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