ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <>
Subject Re: Retrieve ignores exclude property of dependency
Date Tue, 31 Aug 2010 10:02:01 GMT
Could you also post the relevant parts of the ivy.xml of project A and B?


From: Tobias Hilka <>
Sent: Tue, August 31, 2010 11:57:05 AM
Subject: Retrieve ignores exclude property of dependency

We have a project with some third party dependency, which in turn has some 
transitive dependencies. We want to exclude one special dependency of these 
transitive dependencies. But the retrieve ant task seems to ignore the exclude 
More detailed:
Project A packs the war file.
Project B has dependency to third party library (with transitive dependencies X 
and Y)
In project A we include the artifact published by Project B (transitive=“true“) 
and exclude Y.
When we call retrieve, we still end up with a lib directory containing B.jar, 
X.jar and Y.jar. What we expect would be to only have B.jar and X.jar.
We are using version 2.2.0.cr1_20100629224905 from within eclipse.
Is this a known issue?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message