Maven Projects

ASF

dependency:analyze

Full name:

org.apache.maven.plugins:maven-dependency-plugin:2.10:analyze

Description:

Analyzes the dependencies of this project and determines which are:
used and declared; used and undeclared; unused and declared. This
goal is intended to be used standalone, thus it always executes the
test-compile phase - use the
dependency:analyze-only goal instead when
participating in the build lifecycle.

By default, maven-dependency-analyzer
is used to perform the analysis, with limitations due to the fact
that it works at bytecode level, but any analyzer can be plugged in
through analyzer parameter.

Attributes:

Requires a Maven project to be executed.

Requires dependency resolution of artifacts in scope: test.

The goal is thread-safe and supports parallel builds.

Since version: 2.0-alpha-3.

Invokes the execution of the lifecycle phasetest-compile prior to executing itself.

Optional Parameters

Specify the project dependency analyzer to use (plexus component
role-hint). By default, maven-dependency-analyzer
is used. To use this, you must declare a dependency for this plugin
that contains the code for the analyzer. The analyzer must have a
declared Plexus role name, and you specify the role name here.Default value is: default.User property is: analyzer.

Parameter Details

Specify the project dependency analyzer to use (plexus component
role-hint). By default, maven-dependency-analyzer
is used. To use this, you must declare a dependency for this plugin
that contains the code for the analyzer. The analyzer must have a
declared Plexus role name, and you specify the role name here.