Package | Description |
---|---|
org.sonatype.aether | |
org.sonatype.aether.collection | |
org.sonatype.aether.impl | |
org.sonatype.aether.impl.internal | |
org.sonatype.aether.resolution |
Modifier and Type | Method and Description |
---|---|
CollectResult |
RepositorySystem.collectDependencies(RepositorySystemSession session,
CollectRequest request)
Collects the transitive dependencies of an artifact and builds a dependency graph.
|
List<ArtifactResult> |
RepositorySystem.resolveDependencies(RepositorySystemSession session,
CollectRequest request,
DependencyFilter filter)
Deprecated.
As of version 1.11, use
RepositorySystem.resolveDependencies(RepositorySystemSession, DependencyRequest)
instead. |
Modifier and Type | Method and Description |
---|---|
CollectRequest |
CollectRequest.addDependency(Dependency dependency)
Adds the specified direct dependency.
|
CollectRequest |
CollectRequest.addManagedDependency(Dependency managedDependency)
Adds the specified managed dependency.
|
CollectRequest |
CollectRequest.addRepository(RemoteRepository repository)
Adds the specified repository for collection.
|
CollectRequest |
CollectResult.getRequest()
Gets the collection request that was made.
|
CollectRequest |
CollectRequest.setDependencies(List<Dependency> dependencies)
Sets the direct dependencies.
|
CollectRequest |
CollectRequest.setManagedDependencies(List<Dependency> managedDependencies)
Sets the dependency management to apply to transitive dependencies.
|
CollectRequest |
CollectRequest.setRepositories(List<RemoteRepository> repositories)
Sets the repositories to use for the collection.
|
CollectRequest |
CollectRequest.setRequestContext(String context)
Sets the context in which this request is made.
|
CollectRequest |
CollectRequest.setRoot(Dependency root)
Sets the root dependency of the graph.
|
CollectRequest |
CollectRequest.setTrace(RequestTrace trace)
Sets the trace information that describes the higher level request/operation in which this request is issued.
|
Constructor and Description |
---|
CollectResult(CollectRequest request)
Creates a new result for the specified request.
|
Modifier and Type | Method and Description |
---|---|
CollectResult |
DependencyCollector.collectDependencies(RepositorySystemSession session,
CollectRequest request) |
Modifier and Type | Method and Description |
---|---|
CollectResult |
DefaultDependencyCollector.collectDependencies(RepositorySystemSession session,
CollectRequest request) |
CollectResult |
DefaultRepositorySystem.collectDependencies(RepositorySystemSession session,
CollectRequest request) |
List<ArtifactResult> |
DefaultRepositorySystem.resolveDependencies(RepositorySystemSession session,
CollectRequest request,
DependencyFilter filter) |
Modifier and Type | Method and Description |
---|---|
CollectRequest |
DependencyRequest.getCollectRequest()
Gets the collect request used to calculate the dependency graph whose artifacts should be resolved.
|
Modifier and Type | Method and Description |
---|---|
DependencyRequest |
DependencyRequest.setCollectRequest(CollectRequest collectRequest)
Sets the collect request used to calculate the dependency graph whose artifacts should be resolved.
|
Constructor and Description |
---|
DependencyRequest(CollectRequest request,
DependencyFilter filter)
Creates a request for the specified collect request and with the given resolution filter.
|
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.