Thanks. > You mentioned you have an internal repo already, so if the maintainers > of the remote repos you're trying to pull from won't cooperate, put > the needed artifacts in your own repo and you'll be good to go.
Yeah, that's what I wanted to avoid. I will do it if there is no other way, but I find it a bit annoying that it is not possible to cut off the dependency chain at a certain point. > > For example, I can declare a dependency on Struts and then use > BeanUtils classes in my code, because I know the Struts dependency > will give me BeanUtils transitively. Well, my view is that if you're directly referencing a type, then it should be a direct dependency in your project -- because the project's dependencies are not part of the interface, e.g. if Struts' deps get changed, then your project might break even the interface remains the same. > > In any case, you can't just 'turn off' transitive dependency > resolution in Maven. :( Thanks, Mate --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
