Interface DependencyCollectorBuilder
-
- All Known Implementing Classes:
DefaultDependencyCollectorBuilder
,Maven31DependencyCollectorBuilder
public interface DependencyCollectorBuilder
Maven project dependency raw dependency collector API, providing an abstraction layer against Maven 3 and Maven 3.1+ particular Aether implementations.- Since:
- 3.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
collectDependencyGraph
DependencyNode collectDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter) throws DependencyCollectorBuilderException
collect the project's raw dependency graph, with information to allow the API client to reason on its own about dependencies.- Parameters:
buildingRequest
- the request with the project to process its dependencies.filter
- an artifact filter if not all dependencies are required (can benull
)- Returns:
- the raw dependency tree
- Throws:
DependencyCollectorBuilderException
- if some of the dependencies could not be collected.
-
-