Package | Description |
---|---|
org.eclipse.aether |
The primary API of the
RepositorySystem and its functionality. |
org.eclipse.aether.collection |
The types and extension points for collecting the transitive dependencies of an artifact and building a dependency
graph.
|
org.eclipse.aether.resolution |
The types supporting the resolution of artifacts and metadata from repositories.
|
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.
|
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.setRootArtifact(Artifact rootArtifact)
Sets the root artifact for the dependency 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 |
---|---|
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–2017 The Apache Software Foundation. All rights reserved.