Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 98876 invoked from network); 2 Jun 2006 07:07:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Jun 2006 07:07:08 -0000 Received: (qmail 53110 invoked by uid 500); 2 Jun 2006 07:07:07 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 53066 invoked by uid 500); 2 Jun 2006 07:07:07 -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 53057 invoked by uid 99); 2 Jun 2006 07:07:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 00:07:07 -0700 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; Fri, 02 Jun 2006 00:07:04 -0700 Received: (qmail 8889 invoked by uid 89); 2 Jun 2006 07:06:43 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 2 Jun 2006 07:06:43 -0000 Message-ID: <129207200.1149232003816.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Fri, 2 Jun 2006 02:06:43 -0500 (CDT) From: "Carlos Sanchez (JIRA)" To: issues@maven.apache.org Subject: [jira] Commented: (MNG-2326) exclusion of transitive dependency is too dominant In-Reply-To: <76519366.1148914123677.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://jira.codehaus.org/browse/MNG-2326?page=comments#action_66460 ] Carlos Sanchez commented on MNG-2326: ------------------------------------- What I'm telling you are two things 1. you don't need to exclude cglib if you are including it again (see it as a workaround if you want) 2. this is exactly a duplicate of MNG-1797 > exclusion of transitive dependency is too dominant > -------------------------------------------------- > > Key: MNG-2326 > URL: http://jira.codehaus.org/browse/MNG-2326 > Project: Maven 2 > Type: Bug > Components: Dependencies > Versions: 2.0.4 > Reporter: Andreas Schildbach > Assignee: Carlos Sanchez > Attachments: mng2326.zip > > > Please consider the following structure: I've got a module M that has got the dependencies D1 and D2. Both D1 and D2 depend on a transitive dependency T. > I have excluded T from D1 per on the M POM in the dependency to D1. > Now, one would expect that T is still pulled into M, because there is no exclusion on the D2 path. But this is not the case, "mvn site" on M is missing T (in the dependency report), and it is missing from the classpath, too. However "mvn eclipse:eclipse" on M does the job right: T is listed. -- 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