depgraph:depgraph
Full name:
ch.elca.el4j.maven.plugins:maven-depgraph-plugin:3.1:depgraph
Description:
Can be used to draw a dependency graph from the project, the mojo
is executed in. It traverses all dependencies and creates a graph
using Graphviz. It draws a dependency graph just for your project.
For a simple POM with no submodules, it draws a graph of all
dependencies (including transitive ones) below it. For a POM with
submodules, goes into each leaf POM and generates a separate graph
for it.
Attributes:
- Requires a Maven 2.0 project to be executed.
- Requires dependency resolution of artifacts in scope: compile|test.
Optional Parameters
Name |
Type |
Since |
Description |
artifactFilter |
String |
- |
A filter for the artifact name.
|
dotFile |
File |
- |
The *.dot file to write to. Will be a temporary file if unset.
|
drawOmitted |
boolean |
- |
Whether to draw omitted artifacts. Default value is: false. |
drawScope |
boolean |
- |
Whether to label the edges with name of dependency-scope. Default value is: true. |
filterEmptyArtifacts |
boolean |
- |
Filter all empty artifacts.
|
groupFilter |
String |
- |
A filter for the group name.
|
outDir |
File |
- |
The directory to write to.
|
outFile |
File |
- |
The file to write to.
|
outFileExtension |
String |
- |
The output file extension.
|
versionFilter |
String |
- |
A filter for the version.
|
Parameter Details
artifactFilter:
A filter for the artifact name.
- Type: java.lang.String
- Required: No
- Expression: ${depgraph.artifactFilter}
dotFile:
The *.dot file to write to. Will be a temporary file if unset.
- Type: java.io.File
- Required: No
- Expression: ${depgraph.dotFile}
drawOmitted:
Whether to draw omitted artifacts.
- Type: boolean
- Required: No
- Expression: ${depgraph.drawOmitted}
- Default: false
drawScope:
Whether to label the edges with name of dependency-scope.
- Type: boolean
- Required: No
- Expression: ${depgraph.drawScope}
- Default: true
filterEmptyArtifacts:
Filter all empty artifacts.
- Type: boolean
- Required: No
- Expression: ${depgraph.filterEmptyArtifacts}
groupFilter:
A filter for the group name.
- Type: java.lang.String
- Required: No
- Expression: ${depgraph.groupFilter}
outDir:
The directory to write to.
- Type: java.io.File
- Required: No
- Expression: ${depgraph.outDir}
outFile:
The file to write to.
- Type: java.io.File
- Required: No
- Expression: ${depgraph.outFile}
outFileExtension:
The output file extension.
- Type: java.lang.String
- Required: No
- Expression: ${depgraph.ext}
versionFilter:
A filter for the version.
- Type: java.lang.String
- Required: No
- Expression: ${depgraph.versionFilter}