Apache Maven Dependency Plugin

Clone this repo:
  1. 81253e3 Serve the go-offline fixture artifacts from the mock repository by Sylwester Lachiewicz · 13 hours ago master
  2. 9a93f07 Use the analyzer 1.18 API in analyze mojos (#1815) by Sylwester Lachiewicz · 5 days ago
  3. 524cfc2 Fix #1813: expect the Maven 3.9 classpath order in get-classpath IT by Arturo Bernal · 2 weeks ago
  4. d3de059 Remove build-classpath ITs covered by unit tests by Sylwester Lachiewicz · 8 days ago
  5. 2d6a2ce Unit-test build-classpath file, property and naming options by Sylwester Lachiewicz · 8 days ago

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.