Package org.apache.maven.api.services
Interface DependencyCollectorRequest
- All Known Subinterfaces:
DependencyResolverRequest
A request to collect the transitive dependencies and to build a dependency graph from them. There are three ways to
create a dependency graph. First, only the root dependency can be given. Second, a root dependency and direct
dependencies can be specified in which case the specified direct dependencies are merged with the direct dependencies
retrieved from the artifact descriptor of the root dependency. And last, only direct dependencies can be specified in
which case the root node of the resulting graph has no associated dependency.
- Since:
- 4.0.0
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionstatic DependencyCollectorRequest
static DependencyCollectorRequest
build
(Session session, DependencyCoordinate root) static DependencyCollectorRequest
builder()
getRoot()
boolean
-
Method Details
-
getSession
-
getProject
-
getRootArtifact
-
getRoot
-
getDependencies
-
getManagedDependencies
-
getVerbose
boolean getVerbose() -
build
-
build
@Nonnull static DependencyCollectorRequest build(@Nonnull Session session, @Nonnull DependencyCoordinate root) -
build
-
builder
-