ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Laccetti <>
Subject Re: Exclusions not being excluded
Date Fri, 16 May 2008 16:10:00 GMT

It hasn't, yet, though I'm having problems with the dependency exclusion, not
the global override.  To "fix" a similar problem to yours with Hibernate, I
had to do some dirty-ish hacks.  Here is a quick sample:

<!-- Dependencies -->
<dependency org="org.springframework" name="spring-orm" rev="2.5.4">
	<exclude org="org.hibernate" />
<dependency org="org.hibernate" name="hibernate" rev="">
	<!-- some exclusions here for caching and other stuff I don't want to use

<!-- Global Exclusions -->
<exclude org="cglib" module="cglib" /> 

My Ivy configuration is pretty large, as I had to go through and exclude
things from a variety of imports to ensure they'd stay out.  Even so, Struts
is still showing up, even though I have told it not to.

oakridge wrote:
> Michael, 
> I am not sure if the problem you were having was solved, but I have found
> a bug or a missing feature.  Please see my post for more information:
> In a nutshell, Ivy doesn't seem to respect global excludes for transitive
> dependencies.  This is the issue I experienced, but it seems unlikely to
> be your direct problem.  Sorry, I didn't intend to threadjack since I
> thought my issue was one and the same.

Michael Laccetti                                 (416)558-9718
S2G Limited                             
View this message in context:
Sent from the ivy-user mailing list archive at

View raw message