Is there a simple way to remove unused dependencies from a maven pom.xml?

I have a large Maven project with many modules and many pom.xml files. The project has changed and I suspect the pom’s contain some unnecessary dependencies. Is there is a command which removes any unused dependencies from a pom?

7 Answers
7

Leave a Comment