I need to exclude an artifact where I know the group ID, artifact ID and version of what I want to exclude but how can I find out what dependencies in my pom have this particular artifact as a dependency. I’m using maven 2x, don’t see a way for global exclusions. Does anyone know how I can find out what the offending dependencies are without having to look at each one?
I’ve looked around and can’t find any answers.
dependency:treecan help you here. From the Maven dependency plugin documentation:will tell you what is pulling in
commons-collections: