Re: transitive dependency exclude not working how I expect

2014-05-16 Thread Marc De Boeck
As far as I know, the exclude element works fine for us, also in the case of such transitive dependencies. Maybe you received javax.servlet via another dependency ? As a workaround (or a test), you could add your exclude element(s) directly under (but at bottom of) the dependencies element of

Re: transitive dependency exclude not working how I expect

2014-05-16 Thread Zac Jacobson
Sorry for the chatter, I figured it out once I took a break form it: I had an exclude that put the org value in the module attribute, so that's why it was still getting included. On Thu, May 8, 2014 at 3:17 PM, Zac Jacobson pie@gmail.com wrote: In my ivy.xml files, I have a module moduleA

transitive dependency exclude not working how I expect

2014-05-14 Thread Zac Jacobson
In my ivy.xml files, I have a module moduleA with a dependency like this: dependency org=org.springframework name=spring-security rev=3.1.2 exclude org=javax.servlet/ /dependency And when I resolve, javax.servlet is not included, as I expected. Next, I have