dependency:tree

Full name:

org.apache.maven.plugins:maven-dependency-plugin:2.1:tree

Description:

Displays the dependency tree for this project.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Since version: 2.0-alpha-5.

Optional Parameters

Name Type Since Description
excludes String 2.0-alpha-6 A comma-separated list of artifacts to filter from the serialized dependency tree, or null not to filter any artifacts from the dependency tree. The artifact syntax is defined by StrictPatternExcludesArtifactFilter.
includes String 2.0-alpha-6 A comma-separated list of artifacts to filter the serialized dependency tree by, or null not to filter the dependency tree. The artifact syntax is defined by StrictPatternIncludesArtifactFilter.
output File 2.0-alpha-5 Deprecated. {0}. use outputFile instead.
outputFile File 2.0-alpha-5 If specified, this parameter will cause the dependency tree to be written to the path specified, instead of writing to the console.
scope String 2.0-alpha-5 The scope to filter by when resolving the dependency tree, or null to include dependencies from all scopes. Note that this feature does not currently work due to MNG-3236.
tokens String 2.0-alpha-6 The token set name to use when outputting the dependency tree. Possible values are whitespace, standard or extended, which use whitespace, standard or extended ASCII sets respectively.
Default value is: standard.
verbose boolean 2.0-alpha-6 Whether to include omitted nodes in the serialized dependency tree.
Default value is: false.

Parameter Details

excludes:

A comma-separated list of artifacts to filter from the serialized dependency tree, or null not to filter any artifacts from the dependency tree. The artifact syntax is defined by StrictPatternExcludesArtifactFilter.
  • Type: java.lang.String
  • Since: 2.0-alpha-6
  • Required: No
  • Expression: ${excludes}

includes:

A comma-separated list of artifacts to filter the serialized dependency tree by, or null not to filter the dependency tree. The artifact syntax is defined by StrictPatternIncludesArtifactFilter.
  • Type: java.lang.String
  • Since: 2.0-alpha-6
  • Required: No
  • Expression: ${includes}

output:

Deprecated. use outputFile instead.
If specified, this parameter will cause the dependency tree to be written to the path specified, instead of writing to the console.
  • Type: java.io.File
  • Since: 2.0-alpha-5
  • Required: No
  • Expression: ${output}

outputFile:

If specified, this parameter will cause the dependency tree to be written to the path specified, instead of writing to the console.
  • Type: java.io.File
  • Since: 2.0-alpha-5
  • Required: No
  • Expression: ${outputFile}

scope:

The scope to filter by when resolving the dependency tree, or null to include dependencies from all scopes. Note that this feature does not currently work due to MNG-3236.
  • Type: java.lang.String
  • Since: 2.0-alpha-5
  • Required: No
  • Expression: ${scope}

tokens:

The token set name to use when outputting the dependency tree. Possible values are whitespace, standard or extended, which use whitespace, standard or extended ASCII sets respectively.
  • Type: java.lang.String
  • Since: 2.0-alpha-6
  • Required: No
  • Expression: ${tokens}
  • Default: standard

verbose:

Whether to include omitted nodes in the serialized dependency tree.
  • Type: boolean
  • Since: 2.0-alpha-6
  • Required: No
  • Expression: ${verbose}
  • Default: false