Finds the unused declared and the used undeclared dependencies of a Maven project by reading its compiled classes and those of its dependencies. The Maven Dependency Plugin uses it for dependency:analyze; other plugins inject ProjectDependencyAnalyzer and call analyze(project).
The library requires Java 8 and builds against the Maven 3.9 core APIs, which the calling plugin's Maven runtime provides.
mvn verify mvn -P run-its verify