@Named public class DefaultDependencyGraphBuilder extends Object implements DependencyGraphBuilder
ProjectDependenciesResolver
Constructor and Description |
---|
DefaultDependencyGraphBuilder(org.apache.maven.project.ProjectDependenciesResolver resolver) |
Modifier and Type | Method and Description |
---|---|
DependencyNode |
buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
Builds the dependency graph for Maven 3.1+.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildDependencyGraph
@Inject public DefaultDependencyGraphBuilder(org.apache.maven.project.ProjectDependenciesResolver resolver)
public DependencyNode buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.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.Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.