Maven dependency Plugin
Jump to navigation
Jump to search
External
Internal
Operations
List
mvn dependency:resolve
Tree
mvn dependency:tree
Build Classpath
This is a goal that can be used to build a complete dependency classpath (less the artifact itself), as required by the Maven project artifact to function. The classpath is generated in the format to be used in java -cp. It proved useful in wrapper scripts, where it eliminates the need to manually specify the classpath.
Note that the artifact itself is not present on the classpath. If needed, it has to be added independently.
mvn dependency:build-classpath
More details:
Analyze
Optimize dependencies with
mvn dependency:analyze