Return-Path: X-Original-To: apmail-ant-ivy-user-archive@www.apache.org Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5C18069E7 for ; Wed, 27 Jul 2011 23:09:07 +0000 (UTC) Received: (qmail 79890 invoked by uid 500); 27 Jul 2011 23:09:07 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 79868 invoked by uid 500); 27 Jul 2011 23:09:06 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Delivered-To: moderator for ivy-user@ant.apache.org Received: (qmail 47707 invoked by uid 99); 27 Jul 2011 18:10:13 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Neil.Miller@livewiremobile.com designates 63.173.32.72 as permitted sender) Message-ID: <4E305465.7030802@livewiremobile.com> Date: Wed, 27 Jul 2011 14:09:41 -0400 From: Neil Miller User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: "ivy-user@ant.apache.org" Subject: Re: Question about excludes References: <4E2C3644.8030109@geekster.com> <5255155122564238197@unknownmsgid> <4E2C684B.3010105@geekster.com> , <4E2E15CD.6070906@geekster.com> <4E2E335B.6060500@geekster.com> <4E2EC1BD.4010401@masergy.com> <4E2EF87D.8010205@geekster.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Presumably you have a dependency like this somewhere: in which case adding force="true" should work. Like so: This gives tells the conflict manager (if it's willing to listen) that slf4j should be forced to 1.6.1. See: http://ant.apache.org/ivy/history/latest-milestone/settings/conflict-managers.html On 07/27/2011 07:17 AM, David Sills wrote: > All: > > I have a project that has a dependency on slf4j. I'm generally using > 1.6.1 (with my own patch to fix a bug), but one of my dependencies has a > transitive dependency on 1.5.6. I cannot figure out how to get rid of > this JAR file in the ivyIDE container. I am trying this: > > artifact="com.springsource.slf4j.api-1.5.6.jar" matcher="exact"/> > > The org and module correspond exactly to how the offending JAR file is > stored in my repository. I know I have to be missing something, but I > simply can't see it. Does anyone? > > I have tried: > > > > But of course that removes all versions of the JAR file, even the one I > want to keep. Can someone explain why there is not a "rev" attribute in > the exclude element? It would seem logical - don't take this revision of > the library. > > Thanks! > > David Sills > >