This should work. Are you sure that you don't depend on junit using another dependency path? (don't trust on ivy:report for this) If you are sure of it, could you open a JIRA issue and provide if possible a simple example so we can reproduce the problem?
Maarten ----- Original Message ---- From: "Hiller, Dean (Contractor)" <dean.hil...@broadridge.com> To: ivy-user@ant.apache.org Sent: Fri, December 10, 2010 7:18:54 PM Subject: excluded dependencies still downloaded? I have a virtual module with ivy.xml and all it has for a test is <dependency org="org.apache.hadoop" name="hadoop-core" rev="0.20.2" conf="runtime->default,sources,javadoc"> <exclude matcher="glob" name="junit"></exclude> </dependency> And it "correctly" does NOT download junit. Then, I have a many modules to use this virtual module and this module DOES download junit and when I run the ivy:report It says the junit came from the line above L. Does this not work transitively so I should get all the jars of my virtual module Exactly as the virtual module defined it? 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.