@Mojo(name="tree",
requiresDependencyCollection=TEST,
threadSafe=true)
public class TreeMojo
extends org.apache.maven.plugin.AbstractMojo
Constructor and Description |
---|
TreeMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
org.apache.maven.shared.dependency.graph.DependencyNode |
getDependencyGraph()
Gets the computed dependency graph root node for the Maven project.
|
org.apache.maven.project.MavenProject |
getProject()
Gets the Maven project used by this mojo.
|
org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor |
getSerializingDependencyNodeVisitor(Writer writer) |
boolean |
isSkip() |
void |
setSkip(boolean skip) |
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public org.apache.maven.project.MavenProject getProject()
public org.apache.maven.shared.dependency.graph.DependencyNode getDependencyGraph()
public boolean isSkip()
skip
public void setSkip(boolean skip)
skip
- skip
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.