public abstract class DependencyBasedGeneratorMojoParent
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.shared.dependency.graph.DependencyGraphBuilder |
dependencyGraphBuilder |
protected org.apache.maven.project.MavenProject |
project |
protected List<org.apache.maven.project.MavenProject> |
reactorProjects |
protected org.apache.maven.execution.MavenSession |
session |
static List<String> |
specialElements
This list represents the special libraries that we do not want to expand.
|
| Constructor and Description |
|---|
DependencyBasedGeneratorMojoParent() |
| Modifier and Type | Method and Description |
|---|---|
protected GraphNode |
buildGraphMapAndReturnRootNodeForProject()
Runs all the dependency tree processing (using the dependency tree lib from Maven) and translates it to the
model used in this project.
|
Map<String,GraphNode> |
getGraphNodeMap()
Returns the graph node map, where:
- The key is a String with the graph node's key (pattern GROUPID:ARTIFACTID)
- The value is a graph node object
|
getLog, getPluginContext, setLog, setPluginContextpublic static List<String> specialElements
@Component(hint="default") protected org.apache.maven.shared.dependency.graph.DependencyGraphBuilder dependencyGraphBuilder
@Parameter(defaultValue="${project}",
readonly=true)
protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="${session}",
readonly=true,
required=true)
protected org.apache.maven.execution.MavenSession session
@Parameter(defaultValue="${reactorProjects}",
readonly=true,
required=true)
protected List<org.apache.maven.project.MavenProject> reactorProjects
protected GraphNode buildGraphMapAndReturnRootNodeForProject() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2019 Atlassian. All rights reserved.