Java: How to Remove Unused Dependencies from a Maven pom.xml The Maven Dependency Plugin will help, especially the dependency:analyze goal: dependency:analyze analyzes the dependencies of this project and …
Apache Maven Dependency Plugin The dependency plugin provides the capability to manipulate artifacts. It can copy and/or unpack artifacts from local or remote repositories to a spe…