Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 47435 invoked from network); 21 Jan 2009 11:01:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jan 2009 11:01:52 -0000 Received: (qmail 55550 invoked by uid 500); 21 Jan 2009 11:01:51 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 55520 invoked by uid 500); 21 Jan 2009 11:01:50 -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 Received: (qmail 55509 invoked by uid 99); 21 Jan 2009 11:01:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2009 03:01:50 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kent.larsson@gmail.com designates 209.85.219.10 as permitted sender) Received: from [209.85.219.10] (HELO mail-ew0-f10.google.com) (209.85.219.10) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2009 11:01:44 +0000 Received: by ewy3 with SMTP id 3so4498021ewy.4 for ; Wed, 21 Jan 2009 03:01:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=4RCmYgmpmeKwepMxg7Vr1k5BXqdHpaaFcP7YvOV+jUE=; b=ILjckftsS4mQmlWOqYsJRrqiWjAvZ3Ygah/WqvtYv58bzAdDAK2AdxlM+02LN5JWXk V/8l6MGXK+ER96t5QJlMsBYZss3OpLfCWjsbkdjQKvT0Gsdc3zUuRsVeElNik3cHpC5Z D65yD4T+XjIWO0VBAzaPGCORfmbiMZBx46mA4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Ez5zoqcndMonrcp4Ocutz6aoScU6MqkTDw3fQ5+ofzcYpfRSjtAC7aRj+sPoRlV2lf iuLhcf9q4N8F0ZlzFIO/7sFrY/7OSSrafYqybAxGdyzvatk+sQ1zKyAbtkFnOD1nVV2n 0cBcjNV0eR0vPSb4V44KFuei7OJI3klubnbSQ= MIME-Version: 1.0 Received: by 10.210.144.3 with SMTP id r3mr1429411ebd.65.1232535682032; Wed, 21 Jan 2009 03:01:22 -0800 (PST) In-Reply-To: <200901211055.03965.nicolas.lalevee@hibnet.org> References: <65d6a07f0901210130g505ec037u18ae6bf8f4a52e34@mail.gmail.com> <200901211055.03965.nicolas.lalevee@hibnet.org> Date: Wed, 21 Jan 2009 12:01:21 +0100 Message-ID: <65d6a07f0901210301kbe548a8vd7804f790553e0f@mail.gmail.com> Subject: Re: Is it possible to exclude a transitive dependency from all my dependencies? From: Kent Larsson To: ivy-user@ant.apache.org Content-Type: multipart/alternative; boundary=0015174be6d28026ce0460fc13e5 X-Virus-Checked: Checked by ClamAV on apache.org --0015174be6d28026ce0460fc13e5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Jan 21, 2009 at 10:55 AM, Nicolas Lalev=E9e < nicolas.lalevee@hibnet.org> wrote: > On mercredi 21 janvier 2009 10:30:19 Kent Larsson wrote: > > A lot of libraries use the Jakarta Commons Logging (JCL) bridge and in > each > > case I want to exclude it as I will be using Simple Logging For Java > (SL4J) > > which has ways to implement the JCL so that I can use one logging syste= m > > only if I want to, and I do. > > > > I'm wondering if I have to write one exclude=3D"" for each = or > if > > there is an easier way to just define that I never in any case want the > JCL > > dependency? (It would make a cleaner ivy.xml) > > yes you can do it globally, see: > http://ant.apache.org/ivy/history/latest-milestone/ivyfile/exclude.html Ah, I actually was there but missed it. Thanks for pointing it out! :-) I also got confused for a while as well as I tried to have my directly under but it seems that I have to have it after all my tags (for my ivy.xml to validate against the XML-Schema definition). It would be an improvement suggestion for the manual to specif= y where in the structure a tag should occur, presently it simply mentions which parent node in the DOM an element has which wasn't enough in this case. Anyway, it's working now! :-) --0015174be6d28026ce0460fc13e5--