Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 90042 invoked from network); 28 Oct 2008 23:40:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2008 23:40:23 -0000 Received: (qmail 95139 invoked by uid 500); 28 Oct 2008 23:40:28 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 94865 invoked by uid 500); 28 Oct 2008 23:40:27 -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 94854 invoked by uid 99); 28 Oct 2008 23:40:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2008 16:40:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Tue, 28 Oct 2008 23:39:12 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 6874314A808D for ; Tue, 28 Oct 2008 18:39:52 -0500 (CDT) Message-ID: <9053664.1225237192425.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Tue, 28 Oct 2008 18:39:52 -0500 (CDT) From: "Arnaud Heritier (JIRA)" To: issues@maven.apache.org Subject: [jira] Updated: (MECLIPSE-368) Dependency configuration in DependencyManagement with exclusions is ignored In-Reply-To: <5764304.1200477057820.JavaMail.haus-jira@codehaus01.managed.contegix.com> 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 [ http://jira.codehaus.org/browse/MECLIPSE-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arnaud Heritier updated MECLIPSE-368: ------------------------------------- Component/s: Core : Dependencies resolution and build path (.classpath) > Dependency configuration in DependencyManagement with exclusions is ignored > --------------------------------------------------------------------------- > > Key: MECLIPSE-368 > URL: http://jira.codehaus.org/browse/MECLIPSE-368 > Project: Maven 2.x Eclipse Plugin > Issue Type: Bug > Components: Core : Dependencies resolution and build path (.classpath) > Affects Versions: 2.4 > Environment: Ubuntu Linux 7.10 > Reporter: jh > Attachments: exclusion-example-20080116.zip, MECLIPSE-368.patch > > > A transitive dependency which is defined in the DependencyManagement section with exclusions does not take these exclusions into account when generating an eclipse classpath. > Example: > - childProject has a dependency 'acegi-security-tiger' > - parentProject has a dependencyManagement section that defines the version and the exclusions > - acegi-security-tiger has a transitive dependency to acegi-security > - parentProject has defined acegi-security and a number of exclusions one of which is spring-remoting 1.2.7 > - childProject's classpath ends up with spring-remoting 1.2.7 as dependency > - we are using spring 2.5.1 which does not have spring-remoting > If I check dependencies with dependency:tree -Dscope=null the dependency resolving of acegi-security-tiger stops with acegi-security and no other transitive dependencies are added (all are excluded) > Workaround is to add acegi-security in childProject's pom. > Main concern here is that dependency resolution in the eclipse plugin seems to be different from the dependency plugin. -- 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