Modifier and Type | Method and Description |
---|---|
DependencyNode |
DependencyGraphBuilder.buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
Build the dependency graph.
|
DependencyNode |
DependencyGraphBuilder.buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter,
java.util.Collection<org.apache.maven.project.MavenProject> reactorProjects)
Build the dependency graph, with a hack to include dependencies contained in the reactor projects
but that are not yet compiled, which is the minimum prerequisite for Maven core's
ReactorReader to find them.
|
DependencyNode |
DependencyNode.getParent()
Gets the parent dependency node of this dependency node.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<DependencyNode> |
DependencyNode.getChildren() |
Modifier and Type | Field and Description |
---|---|
private java.util.List<DependencyNode> |
AncestorOrSelfDependencyNodeFilter.descendantNodes
The list of nodes that this filter accepts ancestors-or-self of.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AndDependencyNodeFilter.accept(DependencyNode node)
Gets whether this filter accepts the specified dependency node.
|
boolean |
ArtifactDependencyNodeFilter.accept(DependencyNode node)
Gets whether this filter accepts the specified dependency node.
|
boolean |
DependencyNodeFilter.accept(DependencyNode node)
Gets whether this filter accepts the specified dependency node.
|
boolean |
AncestorOrSelfDependencyNodeFilter.accept(DependencyNode node)
Gets whether this filter accepts the specified dependency node.
|
private boolean |
AncestorOrSelfDependencyNodeFilter.isAncestorOrSelf(DependencyNode ancestorNode,
DependencyNode descendantNode)
Gets whether the first dependency node is an ancestor-or-self of the second.
|
Constructor and Description |
---|
AncestorOrSelfDependencyNodeFilter(DependencyNode descendantNode) |
Constructor and Description |
---|
AncestorOrSelfDependencyNodeFilter(java.util.List<DependencyNode> descendantNodes)
Creates a dependency node filter that only accepts nodes that are ancestors of, or equal to, the specified list
of nodes.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDependencyNode
Default implementation of a DependencyNode.
|
Modifier and Type | Field and Description |
---|---|
private DependencyNode |
DefaultDependencyNode.parent |
Modifier and Type | Field and Description |
---|---|
private java.util.List<DependencyNode> |
DefaultDependencyNode.children |
Modifier and Type | Method and Description |
---|---|
DependencyNode |
DefaultDependencyGraphBuilder.buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
Builds a dependency graph.
|
DependencyNode |
Maven31DependencyGraphBuilder.buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
Builds the dependency graph for Maven 3.1+.
|
DependencyNode |
DefaultDependencyGraphBuilder.buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter,
java.util.Collection<org.apache.maven.project.MavenProject> reactorProjects)
Builds a dependency graph.
|
DependencyNode |
Maven31DependencyGraphBuilder.buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter,
java.util.Collection<org.apache.maven.project.MavenProject> reactorProjects)
Builds the dependency graph for Maven 3.1+, eventually hacking for collecting projects from
reactor not yet built.
|
private DependencyNode |
Maven31DependencyGraphBuilder.buildDependencyNode(DependencyNode parent,
org.eclipse.aether.graph.DependencyNode node,
org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter) |
DependencyNode |
DefaultDependencyNode.getParent() |
Modifier and Type | Method and Description |
---|---|
java.util.List<DependencyNode> |
DefaultDependencyNode.getChildren() |
Modifier and Type | Method and Description |
---|---|
private DependencyNode |
Maven31DependencyGraphBuilder.buildDependencyNode(DependencyNode parent,
org.eclipse.aether.graph.DependencyNode node,
org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultDependencyNode.setChildren(java.util.List<DependencyNode> children) |
Constructor and Description |
---|
DefaultDependencyNode(DependencyNode parent,
org.apache.maven.artifact.Artifact artifact,
java.lang.String premanagedVersion,
java.lang.String premanagedScope,
java.lang.String versionConstraint)
Constructs the DefaultDependencyNode.
|
DefaultDependencyNode(DependencyNode parent,
org.apache.maven.artifact.Artifact artifact,
java.lang.String premanagedVersion,
java.lang.String premanagedScope,
java.lang.String versionConstraint,
java.lang.Boolean optional) |
Modifier and Type | Field and Description |
---|---|
private DependencyNode |
BuildingDependencyNodeVisitor.rootNode
The root node of the resultant tree.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<DependencyNode> |
CollectingDependencyNodeVisitor.nodes
The collected list of nodes.
|
private java.util.Stack<DependencyNode> |
BuildingDependencyNodeVisitor.parentNodes
The resultant tree parent nodes for the currently visited node.
|
Modifier and Type | Method and Description |
---|---|
DependencyNode |
BuildingDependencyNodeVisitor.getDependencyTree()
Gets the root node of the resultant dependency tree constructed by this visitor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<DependencyNode> |
CollectingDependencyNodeVisitor.getNodes()
Gets the list of collected dependency nodes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DependencyNodeVisitor.endVisit(DependencyNode node)
Ends the visit to to the specified dependency node.
|
boolean |
SerializingDependencyNodeVisitor.endVisit(DependencyNode node)
Ends the visit to to the specified dependency node.
|
boolean |
FilteringDependencyNodeVisitor.endVisit(DependencyNode node)
Ends the visit to to the specified dependency node.
|
boolean |
CollectingDependencyNodeVisitor.endVisit(DependencyNode node)
Ends the visit to to the specified dependency node.
|
boolean |
BuildingDependencyNodeVisitor.endVisit(DependencyNode node)
Ends the visit to to the specified dependency node.
|
private void |
SerializingDependencyNodeVisitor.indent(DependencyNode node)
Writes the necessary tokens to indent the specified dependency node to this visitor's writer.
|
private boolean |
SerializingDependencyNodeVisitor.isLast(DependencyNode node)
Gets whether the specified dependency node is the last of its siblings.
|
private boolean |
SerializingDependencyNodeVisitor.isLast(DependencyNode node,
int ancestorDepth)
Gets whether the specified dependency node ancestor is the last of its siblings.
|
boolean |
DependencyNodeVisitor.visit(DependencyNode node)
Starts the visit to the specified dependency node.
|
boolean |
SerializingDependencyNodeVisitor.visit(DependencyNode node)
Starts the visit to the specified dependency node.
|
boolean |
FilteringDependencyNodeVisitor.visit(DependencyNode node)
Starts the visit to the specified dependency node.
|
boolean |
CollectingDependencyNodeVisitor.visit(DependencyNode node)
Starts the visit to the specified dependency node.
|
boolean |
BuildingDependencyNodeVisitor.visit(DependencyNode node)
Starts the visit to the specified dependency node.
|