dependency:tree
Full name:
org.apache.maven.plugins:maven-dependency-plugin:3.5.0:tree
Description:
Displays the dependency tree for this project. Multiple formats are supported: text (by default), but also DOT, GraphML, and TGF.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Since version:
2.0-alpha-5
.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<appendOutput> |
boolean |
2.2 |
Whether to append outputs into the output file or overwrite it. Default value is: false .User property is: appendOutput . |
<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 filter syntax is:
[groupId]:[artifactId]:[type]:[version] * wildcards. An empty pattern segment is treated as an implicit wildcard.
For example, See also: org.apache.maven.shared.artifact.filter.StrictPatternExcludesArtifactFilter User property is: excludes . |
<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 filter syntax is:
[groupId]:[artifactId]:[type]:[version] * wildcards. An empty pattern segment is treated as an implicit wildcard.
For example, See also: org.apache.maven.shared.artifact.filter.StrictPatternIncludesArtifactFilter User property is: includes . |
<outputEncoding> |
String |
- |
(no description) Default value is: ${project.reporting.outputEncoding} .User property is: outputEncoding . |
<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. User property is: outputFile . |
<outputType> |
String |
2.2 |
If specified, this parameter will cause the dependency tree to be written using the specified format. Currently supported format are: text (default), dot , graphml and tgf . These additional formats can be plotted to image files.Default value is: text .User property is: outputType . |
<projectRepos> |
List<RemoteRepository> |
- |
The project's remote repositories to use for the resolution of project dependencies. Default value is: ${project.remoteProjectRepositories} . |
<repoSession> |
RepositorySystemSession |
- |
The current repository/network configuration of Maven. Default value is: ${repositorySystemSession} . |
<repositorySystemParam> |
RepositorySystem |
- |
(no description) Default value is: ${repositorySystem} . |
<scope> |
String |
2.0-alpha-5 |
The scope to filter by when resolving the dependency tree, or null to include dependencies from all scopes.User property is: scope . |
<skip> |
boolean |
2.7 |
Skip plugin execution completely. Default value is: false .User property is: skip . |
<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 (ie ASCII) or extended character sets respectively.Default value is: standard .User property is: tokens . |
<verbose> |
boolean |
2.0-alpha-6 |
Whether to include omitted nodes in the serialized dependency tree. Default value is: false .User property is: verbose . |
Parameter Details
<appendOutput>
Whether to append outputs into the output file or overwrite it.
- Type:
boolean
- Since:
2.2
- Required:
No
- User Property:
appendOutput
- Default:
false
<excludes>
A comma-separated list of artifacts to filter from the serialized dependency tree, or
where each pattern segment is optional and supports full and partial
See also: org.apache.maven.shared.artifact.filter.StrictPatternExcludesArtifactFilter
null
not to filter any artifacts from the dependency tree. The filter syntax is:
[groupId]:[artifactId]:[type]:[version]
*
wildcards. An empty pattern segment is treated as an implicit wildcard.
For example, org.apache.*
will match all artifacts whose group id starts with org.apache.
, and :::*-SNAPSHOT
will match all snapshot artifacts.
See also: org.apache.maven.shared.artifact.filter.StrictPatternExcludesArtifactFilter
- Type:
java.lang.String
- Since:
2.0-alpha-6
- Required:
No
- User Property:
excludes
<includes>
A comma-separated list of artifacts to filter the serialized dependency tree by, or
where each pattern segment is optional and supports full and partial
See also: org.apache.maven.shared.artifact.filter.StrictPatternIncludesArtifactFilter
null
not to filter the dependency tree. The filter syntax is:
[groupId]:[artifactId]:[type]:[version]
*
wildcards. An empty pattern segment is treated as an implicit wildcard.
For example, org.apache.*
will match all artifacts whose group id starts with org.apache.
, and :::*-SNAPSHOT
will match all snapshot artifacts.
See also: org.apache.maven.shared.artifact.filter.StrictPatternIncludesArtifactFilter
- Type:
java.lang.String
- Since:
2.0-alpha-6
- Required:
No
- User Property:
includes
<outputEncoding>
(no description)
- Type:
java.lang.String
- Required:
No
- User Property:
outputEncoding
- Default:
${project.reporting.outputEncoding}
<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
- User Property:
outputFile
<outputType>
If specified, this parameter will cause the dependency tree to be written using the specified format. Currently supported format are:
text
(default), dot
, graphml
and tgf
. These additional formats can be plotted to image files.- Type:
java.lang.String
- Since:
2.2
- Required:
No
- User Property:
outputType
- Default:
text
<projectRepos>
The project's remote repositories to use for the resolution of project dependencies.
- Type:
java.util.List<org.eclipse.aether.repository.RemoteRepository>
- Required:
No
- Default:
${project.remoteProjectRepositories}
<repoSession>
The current repository/network configuration of Maven.
- Type:
org.eclipse.aether.RepositorySystemSession
- Required:
No
- Default:
${repositorySystemSession}
<repositorySystemParam>
(no description)
- Type:
org.eclipse.aether.RepositorySystem
- Required:
No
- Default:
${repositorySystem}
<scope>
The scope to filter by when resolving the dependency tree, or
null
to include dependencies from all scopes.- Type:
java.lang.String
- Since:
2.0-alpha-5
- Required:
No
- User Property:
scope
<skip>
Skip plugin execution completely.
- Type:
boolean
- Since:
2.7
- Required:
No
- User Property:
skip
- Default:
false
<tokens>
The token set name to use when outputting the dependency tree. Possible values are
whitespace
, standard
or extended
, which use whitespace, standard (ie ASCII) or extended character sets respectively.- Type:
java.lang.String
- Since:
2.0-alpha-6
- Required:
No
- User Property:
tokens
- Default:
standard
<verbose>
Whether to include omitted nodes in the serialized dependency tree.
- Type:
boolean
- Since:
2.0-alpha-6
- Required:
No
- User Property:
verbose
- Default:
false