@Component(role=DependencyGraphBuilder.class, hint="maven3") public class Maven3DependencyGraphBuilder extends org.codehaus.plexus.logging.AbstractLogEnabled implements DependencyGraphBuilder
ProjectDependenciesResolver
Constructor and Description |
---|
Maven3DependencyGraphBuilder() |
Modifier and Type | Method and Description |
---|---|
DependencyNode |
buildDependencyGraph(ProjectBuildingRequest buildingRequest,
ArtifactFilter filter)
Builds the dependency graph for Maven 3.
|
DependencyNode |
buildDependencyGraph(ProjectBuildingRequest buildingRequest,
ArtifactFilter filter,
Collection<MavenProject> reactorProjects)
Builds the dependency graph for Maven 3, eventually hacking for collecting projects from
reactor not yet built.
|
public DependencyNode buildDependencyGraph(ProjectBuildingRequest buildingRequest, ArtifactFilter filter) throws DependencyGraphBuilderException
buildDependencyGraph
in interface DependencyGraphBuilder
buildingRequest
- the buildingRequestfilter
- artifact filter (can be null
)DependencyGraphBuilderException
- if some of the dependencies could not be resolved.public DependencyNode buildDependencyGraph(ProjectBuildingRequest buildingRequest, ArtifactFilter filter, Collection<MavenProject> reactorProjects) throws DependencyGraphBuilderException
buildDependencyGraph
in interface DependencyGraphBuilder
buildingRequest
- the buildingRequestfilter
- artifact filter (can be null
)reactorProjects
- Collection of those projects contained in the reactor (can be null
).DependencyGraphBuilderException
- if some of the dependencies could not be resolved.Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.