org.fusesource.mvnplugins.graph
public class ProjectMojo extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected org.apache.maven.artifact.resolver.ArtifactCollector |
artifactCollector |
protected org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory |
protected org.apache.maven.artifact.metadata.ArtifactMetadataSource |
artifactMetadataSource |
protected org.apache.maven.artifact.resolver.ArtifactResolver |
artifactResolver |
protected boolean |
cascade
If true then the 'test scope' and 'optional' attributes are cascaded
down to the dependencies of the original node.
|
protected String |
direction
The direction that the graph will be laid out in.
|
protected boolean |
hideExternal
If set to true if dependencies external to the reactor project should be hidden.
|
protected boolean |
hideGroupId
If set to true then the group id label will not be drawn.
|
protected boolean |
hideOmitted
If set to true, omitted dependencies will not be drawn.
|
protected boolean |
hideOptional
If set to true optional dependencies are not drawn.
|
protected boolean |
hidePoms
If set to true pom dependencies are not drawn.
|
protected String |
hideScopes
A comma separated list of scopes.
|
protected boolean |
hideTransitive
If set to true then dependencies not explicitly defined in the projects
pom will not be drawn.
|
protected boolean |
hideType
If set to true then the module type label will not be drawn.
|
protected boolean |
hideVersion
If set to true then the version label will not be drawn.
|
protected boolean |
keepDot
If set to true then the intermediate dot file will not be deleted.
|
protected String |
label
The label for the graph.
|
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository |
protected org.apache.maven.project.MavenProject |
project |
protected File |
target
The file the diagram will be written to.
|
protected org.apache.maven.shared.dependency.tree.DependencyTreeBuilder |
treeBuilder |
Constructor and Description |
---|
ProjectMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
collectProjects(ArrayList<org.apache.maven.project.MavenProject> projects) |
void |
execute() |
File |
getTarget() |
protected org.apache.maven.project.MavenProject project
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
protected org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
protected org.apache.maven.artifact.metadata.ArtifactMetadataSource artifactMetadataSource
protected org.apache.maven.artifact.resolver.ArtifactCollector artifactCollector
protected org.apache.maven.shared.dependency.tree.DependencyTreeBuilder treeBuilder
protected File target
protected boolean hideOmitted
protected boolean hideOptional
protected boolean hideExternal
protected boolean hidePoms
protected String hideScopes
runtime,test
protected boolean hideTransitive
protected boolean hideVersion
protected boolean hideGroupId
protected boolean hideType
protected boolean keepDot
protected String label
protected boolean cascade
protected String direction
TB LR BT RL
top to bottom, from left to right, from bottom to top, and from right to left, respectively
Copyright © 2009-2013 FuseSource. All Rights Reserved.