Yes, you can use exclude http://ant.apache.org/ivy/history/latest-milestone/ivyfile/exclude.html
<http://ant.apache.org/ivy/history/latest-milestone/ivyfile/exclude.html>e.g., this in my ivy.xml does exactly what you imagine ... <exclude org="commons-httpclient"/> </dependencies> FWIW I tend to put this at the end of the dependencies section - I found that global overrides needed to be at the end of the file and I do this out of habit now. YMMV. Cheers, Geoff On Sat, Feb 5, 2011 at 12:50 PM, Hiller, Dean (Contractor) < dean.hil...@broadridge.com> wrote: > I have about 6 things that depend on commons logging and I am trying to > pull in slf4j and it's commons api, jdk api, log4j api, but I have to go > add 6 different exclude and worse yet if we add a new dependency, we > could end up accidentally sucking the commons jar back in again. > > > > Is there a way in ivy.xml to exclude a pattern from all dependencies > coming in? (a simple no would be great if that is the case) > > > > Thanks, > > Dean > > > This message and any attachments are intended only for the use of the > addressee and > may contain information that is privileged and confidential. If the reader > of the > message is not the intended recipient or an authorized representative of > the > intended recipient, you are hereby notified that any dissemination of this > communication is strictly prohibited. If you have received this > communication in > error, please notify us immediately by e-mail and delete the message and > any > attachments from your system. > >