Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jmbataller/6655f0148f90e44d5bd7fc61c17a29f7 to your computer and use it in GitHub Desktop.
Save jmbataller/6655f0148f90e44d5bd7fc61c17a29f7 to your computer and use it in GitHub Desktop.
Maven - analyze dependencies
Looks at the dependencies after final resolution and looks for mismatches in your dependencyManagement section:
> mvn dependency:analyze-dep-mgt
Resolving conflicts with dependency tree:
> mvn dependency:tree -Dverbose -Dincludes=commons-collections
More info: http://maven.apache.org/plugins/maven-dependency-plugin/examples/resolving-conflicts-using-the-dependency-tree.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment