Class DefaultDependencyCollectorBuilder
- java.lang.Object
-
- org.apache.maven.shared.dependency.graph.internal.DefaultDependencyCollectorBuilder
-
- All Implemented Interfaces:
DependencyCollectorBuilder
@Named public class DefaultDependencyCollectorBuilder extends Object implements DependencyCollectorBuilder
Project dependency raw dependency collector API, abstracting Maven 3.1+'s Aether implementation.- Since:
- 3.1.0
- Author:
- Gabriel Belingueres
-
-
Constructor Summary
Constructors Constructor Description DefaultDependencyCollectorBuilder(org.eclipse.aether.RepositorySystem repositorySystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DependencyNode
collectDependencyGraph(DependencyCollectorRequest dependencyCollectorRequest)
collect the project's raw dependency graph, with information to allow the API client to reason on its own about dependencies.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.maven.shared.dependency.graph.DependencyCollectorBuilder
collectDependencyGraph
-
-
-
-
Method Detail
-
collectDependencyGraph
public DependencyNode collectDependencyGraph(DependencyCollectorRequest dependencyCollectorRequest) throws DependencyCollectorBuilderException
Description copied from interface:DependencyCollectorBuilder
collect the project's raw dependency graph, with information to allow the API client to reason on its own about dependencies.- Specified by:
collectDependencyGraph
in interfaceDependencyCollectorBuilder
- Parameters:
dependencyCollectorRequest
- the request with different paramaters.- Returns:
- the raw dependency tree
- Throws:
DependencyCollectorBuilderException
- if some of the dependencies could not be collected.
-
-