Skip to content

Latest commit

 

History

1,723 Commits

Folders and files

Repository files navigation

Apache Maven Dependency Plugin

Apache License, Version 2.0, January 2004 Maven Central Reproducible Builds Verify

The Maven plugin for working with a project's dependencies: it displays the dependency tree, analyzes declared and used dependencies, copies and unpacks artifacts, builds class paths, resolves artifacts without a project, and adds or removes dependencies in a pom.xml. It requires Maven 3.9.0 or later and Java 8 or later.

mvn dependency:tree
mvn dependency:analyze
mvn dependency:copy-dependencies -DincludeScope=runtime
mvn dependency:get -Dartifact=org.apache.commons:commons-collections4:4.4

Build

Build and run the unit tests:

mvn verify

Run the integration tests in src/it as well, all of them or one by name:

mvn -Prun-its verify
mvn -Prun-its verify -Dinvoker.test=tree-show-sizes

Build the site into target/site:

mvn -DskipTests install site

Contributing

Open a pull request against master with a test that covers the change, and run mvn spotless:apply before you commit. Discuss larger changes on the developer mailing list first. See the guide to helping with Maven for more.

Releases

Packages

Used by

Contributors

Languages