@Mojo(name="tree", requiresDependencyCollection=TEST, threadSafe=true) public class TreeMojo extends AbstractMojo
| Constructor and Description |
|---|
TreeMojo() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsVersion(VersionRange allowedRange,
ArtifactVersion theVersion)
Deprecated.
This method is unused in this project and will be removed in the future.
|
void |
execute() |
DependencyNode |
getDependencyGraph()
Gets the computed dependency graph root node for the Maven project.
|
MavenProject |
getProject()
Gets the Maven project used by this mojo.
|
DependencyNodeVisitor |
getSerializingDependencyNodeVisitor(Writer writer) |
boolean |
isSkip() |
void |
setSkip(boolean skip) |
getLog, getPluginContext, setLog, setPluginContextpublic void execute()
throws MojoExecutionException,
MojoFailureException
public MavenProject getProject()
public DependencyNode getDependencyGraph()
public boolean isSkip()
skippublic void setSkip(boolean skip)
skip - skippublic DependencyNodeVisitor getSerializingDependencyNodeVisitor(Writer writer)
writer - WriterDependencyNodeVisitor@Deprecated public static boolean containsVersion(VersionRange allowedRange, ArtifactVersion theVersion)
allowedRange - range of allowed versions.theVersion - the version to be checked.Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.