@Component(role=DependencyCollectorBuilder.class, hint="maven3") public class Maven3DependencyCollectorBuilder extends org.codehaus.plexus.logging.AbstractLogEnabled implements DependencyCollectorBuilder
Constructor and Description |
---|
Maven3DependencyCollectorBuilder() |
Modifier and Type | Method and Description |
---|---|
DependencyNode |
collectDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
collect the project's raw dependency graph, with information to allow the API client to reason on its own about
dependencies.
|
public DependencyNode collectDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter) throws DependencyCollectorBuilderException
DependencyCollectorBuilder
collectDependencyGraph
in interface DependencyCollectorBuilder
buildingRequest
- the request with the project to process its dependencies.filter
- an artifact filter if not all dependencies are required (can be null
)DependencyCollectorBuilderException
- if some of the dependencies could not be collected.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.