@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)
Copied from Artifact.VersionRange. 
 | 
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 - WriterDependencyNodeVisitorpublic static boolean containsVersion(VersionRange allowedRange, ArtifactVersion theVersion)
allowedRange - range of allowed versions.theVersion - the version to be checked.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.