Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 49720 invoked from network); 22 May 2008 11:28:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 May 2008 11:28:22 -0000 Received: (qmail 8608 invoked by uid 500); 22 May 2008 11:28:23 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 8588 invoked by uid 500); 22 May 2008 11:28:23 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 8579 invoked by uid 99); 22 May 2008 11:28:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 May 2008 04:28:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 May 2008 11:27:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BA510234C118 for ; Thu, 22 May 2008 04:27:55 -0700 (PDT) Message-ID: <1638354093.1211455675748.JavaMail.jira@brutus> Date: Thu, 22 May 2008 04:27:55 -0700 (PDT) From: "Rick Riemer (JIRA)" To: notifications@ant.apache.org Subject: [jira] Commented: (IVY-811) Maven scope defined in POM dependencyManagement section not honoured In-Reply-To: <1330597509.1209461037528.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598973#action_12598973 ] Rick Riemer commented on IVY-811: --------------------------------- I tested with the latest SVN snapshot (r659035), which seems to work correctly. One question: will the logging like {{[ivy:cachepath] *** scope = provided}} {{[ivy:resolve] *** scope = null}} be removed from the final version? I have logging set to quiet, but I still see such messages. For my part you can close the bug once you've added your unit test. > Maven scope defined in POM dependencyManagement section not honoured > -------------------------------------------------------------------- > > Key: IVY-811 > URL: https://issues.apache.org/jira/browse/IVY-811 > Project: Ivy > Issue Type: Bug > Components: Maven Compatibility > Affects Versions: 2.0.0-beta-2 > Environment: * Windows XP SP2 > * Sun Java 6 SE 1.6.0_05 > * Apache Ant 1.7.0 > Reporter: Rick Riemer > Assignee: Maarten Coene > Fix For: 2.0-RC1 > > Attachments: ivy-1.2-picocontainer.xml, ivy-1.2_picocontainer-parent.xml, picocontainer-parent.original-1.2.pom, picocontainer.original-1.2.pom > > > When resolving dependencies from Maven POMs, Ivy seems to ignore the dependency scopes as defined in the dependencyManagement section. For example when our project imports the org.picocontainer#picocontainer;1.2 project, Ivy considers xpp3#xpp3 and xstream#xstream as normal dependencies, while picocontainer-parent only includes them on test scope. > I will attach the picocontainer POMs and the generated Ivy file to show what happens. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.