ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <nicolas.lale...@hibnet.org>
Subject Re: Is it possible to exclude a transitive dependency from all my dependencies?
Date Wed, 21 Jan 2009 09:55:03 GMT
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 system
> only if I want to, and I do.
>
> I'm wondering if I have to write one exclude="" for each <dependency> 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

Nicolas


Mime
View raw message