public interface DependencyCollector
Modifier and Type | Method and Description |
---|---|
CollectResult |
collectDependencies(RepositorySystemSession session,
CollectRequest request)
Collects the transitive dependencies of some artifacts and builds a dependency graph.
|
CollectResult collectDependencies(RepositorySystemSession session, CollectRequest request) throws DependencyCollectionException
session
- The repository session, must not be null
.request
- The collection request, must not be null
.null
.DependencyCollectionException
- If the dependency tree could not be built.RepositorySystemSession.getDependencyTraverser()
,
RepositorySystemSession.getDependencyManager()
,
RepositorySystemSession.getDependencySelector()
,
RepositorySystemSession.getVersionFilter()
,
RepositorySystemSession.getDependencyGraphTransformer()
,
RepositorySystem.collectDependencies(RepositorySystemSession, CollectRequest)
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.