Package | Description |
---|---|
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.graph |
The representation of a dependency graph by means of connected dependency nodes.
|
org.eclipse.aether.internal.impl |
The various sub components that collectively implement the repository system.
|
org.eclipse.aether.internal.test.util |
Utility classes to ease unit testing.
|
org.eclipse.aether.resolution |
The types supporting the resolution of artifacts and metadata from repositories.
|
org.eclipse.aether.util.graph.manager |
Various dependency managers for building a dependency graph.
|
org.eclipse.aether.util.graph.selector |
Various dependency selectors for building a dependency graph.
|
org.eclipse.aether.util.graph.transformer |
Various dependency graph transformers for post-processing a dependency graph.
|
org.eclipse.aether.util.graph.traverser |
Various dependency traversers for building a dependency graph.
|
org.eclipse.aether.util.graph.visitor |
Various dependency visitors for inspecting a dependency graph.
|
Modifier and Type | Field and Description |
---|---|
private Dependency |
CollectRequest.root |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Dependency> |
CollectRequest.dependencies |
private java.util.List<Dependency> |
CollectRequest.managedDependencies |
Modifier and Type | Method and Description |
---|---|
Dependency |
DependencyCollectionContext.getDependency()
Gets the dependency whose children are to be processed next during dependency collection.
|
Dependency |
VersionFilter.VersionFilterContext.getDependency()
Gets the dependency whose version range is being filtered.
|
Dependency |
CollectRequest.getRoot()
Gets the root dependency of the graph.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Dependency> |
CollectRequest.getDependencies()
Gets the direct dependencies.
|
java.util.List<Dependency> |
DependencyCollectionContext.getManagedDependencies()
Gets the dependency management information that was contributed by the artifact descriptor of the current
dependency.
|
java.util.List<Dependency> |
CollectRequest.getManagedDependencies()
Gets the dependency management to apply to transitive dependencies.
|
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.
|
DependencyManagement |
DependencyManager.manageDependency(Dependency dependency)
Applies dependency management to the specified dependency.
|
boolean |
DependencySelector.selectDependency(Dependency dependency)
Decides whether the specified dependency should be included in the dependency graph.
|
CollectRequest |
CollectRequest.setRoot(Dependency root)
Sets the root dependency of the graph.
|
boolean |
DependencyTraverser.traverseDependency(Dependency dependency)
Decides whether the dependencies of the specified dependency should be traversed.
|
Modifier and Type | Method and Description |
---|---|
CollectRequest |
CollectRequest.setDependencies(java.util.List<Dependency> dependencies)
Sets the direct dependencies.
|
CollectRequest |
CollectRequest.setManagedDependencies(java.util.List<Dependency> managedDependencies)
Sets the dependency management to apply to transitive dependencies.
|
Constructor and Description |
---|
CollectRequest(Dependency root,
java.util.List<Dependency> dependencies,
java.util.List<RemoteRepository> repositories)
Creates a new request with the specified properties.
|
CollectRequest(Dependency root,
java.util.List<RemoteRepository> repositories)
Creates a request with the specified properties.
|
Constructor and Description |
---|
CollectRequest(Dependency root,
java.util.List<Dependency> dependencies,
java.util.List<RemoteRepository> repositories)
Creates a new request with the specified properties.
|
CollectRequest(java.util.List<Dependency> dependencies,
java.util.List<Dependency> managedDependencies,
java.util.List<RemoteRepository> repositories)
Creates a new request with the specified properties.
|
CollectRequest(java.util.List<Dependency> dependencies,
java.util.List<Dependency> managedDependencies,
java.util.List<RemoteRepository> repositories)
Creates a new request with the specified properties.
|
Modifier and Type | Field and Description |
---|---|
private Dependency |
DefaultDependencyNode.dependency |
Modifier and Type | Method and Description |
---|---|
Dependency |
DependencyNode.getDependency()
Gets the dependency associated with this node.
|
Dependency |
DefaultDependencyNode.getDependency() |
Dependency |
Dependency.setArtifact(Artifact artifact)
Sets the artifact being depended on.
|
Dependency |
Dependency.setExclusions(java.util.Collection<Exclusion> exclusions)
Sets the exclusions for the dependency.
|
Dependency |
Dependency.setOptional(java.lang.Boolean optional)
Sets the optional flag for the dependency.
|
Dependency |
Dependency.setScope(java.lang.String scope)
Sets the scope of the dependency, e.g.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Dependency> |
DependencyCycle.getCyclicDependencies()
Gets the dependencies that actually form the cycle.
|
java.util.List<Dependency> |
DependencyCycle.getPrecedingDependencies()
Gets the dependencies that lead to the first dependency on the cycle, starting from the root of the dependency
graph.
|
Constructor and Description |
---|
DefaultDependencyNode(Dependency dependency)
Creates a new node with the specified dependency.
|
Modifier and Type | Field and Description |
---|---|
private Dependency |
DefaultDependencyCollectionContext.dependency |
private Dependency |
DefaultVersionFilterContext.dependency |
(package private) Dependency |
DefaultDependencyCollector.PremanagedDependency.managedDependency |
Modifier and Type | Field and Description |
---|---|
private ObjectPool<Dependency> |
DataPool.dependencies |
(package private) java.util.List<Dependency> |
DataPool.GoodDescriptor.dependencies |
private java.util.List<Dependency> |
DefaultDependencyCycle.dependencies |
(package private) java.util.List<Dependency> |
DataPool.GoodDescriptor.managedDependencies |
private java.util.List<Dependency> |
DefaultDependencyCollectionContext.managedDependencies |
Modifier and Type | Method and Description |
---|---|
Dependency |
DefaultDependencyCollectionContext.getDependency() |
Dependency |
DefaultVersionFilterContext.getDependency() |
Dependency |
DataPool.intern(Dependency dependency) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Dependency> |
DefaultDependencyCycle.getCyclicDependencies() |
java.util.List<Dependency> |
DefaultDependencyCollectionContext.getManagedDependencies() |
java.util.List<Dependency> |
DefaultDependencyCycle.getPrecedingDependencies() |
private java.util.List<Dependency> |
DefaultDependencyCollector.mergeDeps(java.util.List<Dependency> dominant,
java.util.List<Dependency> recessive) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultDependencyCollector.Results.addCycle(NodeStack nodes,
int cycleEntry,
Dependency dependency) |
void |
DefaultDependencyCollector.Results.addException(Dependency dependency,
java.lang.Exception e,
NodeStack nodes) |
(package private) static DefaultDependencyCollector.PremanagedDependency |
DefaultDependencyCollector.PremanagedDependency.create(DependencyManager depManager,
Dependency dependency,
boolean disableVersionManagement,
boolean premanagedState) |
private static ArtifactDescriptorRequest |
DefaultDependencyCollector.createArtifactDescriptorRequest(DefaultDependencyCollector.Args args,
java.util.List<RemoteRepository> repositories,
Dependency d) |
private static DefaultDependencyNode |
DefaultDependencyCollector.createDependencyNode(java.util.List<Artifact> relocations,
DefaultDependencyCollector.PremanagedDependency preManaged,
VersionRangeResult rangeResult,
Version version,
Dependency d,
ArtifactDescriptorResult descriptorResult,
DependencyNode cycleNode) |
private static DefaultDependencyNode |
DefaultDependencyCollector.createDependencyNode(java.util.List<Artifact> relocations,
DefaultDependencyCollector.PremanagedDependency preManaged,
VersionRangeResult rangeResult,
Version version,
Dependency d,
java.util.Collection<Artifact> aliases,
java.util.List<RemoteRepository> repos,
java.lang.String requestContext) |
private static VersionRangeRequest |
DefaultDependencyCollector.createVersionRangeRequest(DefaultDependencyCollector.Args args,
java.util.List<RemoteRepository> repositories,
Dependency dependency) |
private void |
DefaultDependencyCollector.doRecurse(DefaultDependencyCollector.Args args,
DefaultDependencyCollector.Results results,
java.util.List<RemoteRepository> repositories,
DependencySelector depSelector,
DependencyManager depManager,
DependencyTraverser depTraverser,
VersionFilter verFilter,
Dependency d,
ArtifactDescriptorResult descriptorResult,
DefaultDependencyNode child) |
private static java.util.List<? extends Version> |
DefaultDependencyCollector.filterVersions(Dependency dependency,
VersionRangeResult rangeResult,
VersionFilter verFilter,
DefaultVersionFilterContext verContext) |
private ArtifactDescriptorResult |
DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector.Args args,
DefaultDependencyCollector.Results results,
boolean noDescriptor,
Dependency d,
ArtifactDescriptorRequest descriptorRequest) |
Dependency |
DataPool.intern(Dependency dependency) |
private void |
DefaultDependencyCollector.processDependency(DefaultDependencyCollector.Args args,
DefaultDependencyCollector.Results results,
java.util.List<RemoteRepository> repositories,
DependencySelector depSelector,
DependencyManager depManager,
DependencyTraverser depTraverser,
VersionFilter verFilter,
Dependency dependency) |
private void |
DefaultDependencyCollector.processDependency(DefaultDependencyCollector.Args args,
DefaultDependencyCollector.Results results,
java.util.List<RemoteRepository> repositories,
DependencySelector depSelector,
DependencyManager depManager,
DependencyTraverser depTraverser,
VersionFilter verFilter,
Dependency dependency,
java.util.List<Artifact> relocations,
boolean disableVersionManagement) |
private ArtifactDescriptorResult |
DefaultDependencyCollector.resolveCachedArtifactDescriptor(DataPool pool,
ArtifactDescriptorRequest descriptorRequest,
RepositorySystemSession session,
Dependency d,
DefaultDependencyCollector.Results results,
DefaultDependencyCollector.Args args) |
void |
DefaultDependencyCollectionContext.set(Dependency dependency,
java.util.List<Dependency> managedDependencies) |
void |
DefaultVersionFilterContext.set(Dependency dependency,
VersionRangeResult result) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<Dependency> |
DefaultDependencyCollector.mergeDeps(java.util.List<Dependency> dominant,
java.util.List<Dependency> recessive) |
private java.util.List<Dependency> |
DefaultDependencyCollector.mergeDeps(java.util.List<Dependency> dominant,
java.util.List<Dependency> recessive) |
private void |
DefaultDependencyCollector.process(DefaultDependencyCollector.Args args,
DefaultDependencyCollector.Results results,
java.util.List<Dependency> dependencies,
java.util.List<RemoteRepository> repositories,
DependencySelector depSelector,
DependencyManager depManager,
DependencyTraverser depTraverser,
VersionFilter verFilter) |
void |
DefaultDependencyCollectionContext.set(Dependency dependency,
java.util.List<Dependency> managedDependencies) |
Constructor and Description |
---|
DefaultDependencyCollectionContext(RepositorySystemSession session,
Artifact artifact,
Dependency dependency,
java.util.List<Dependency> managedDependencies) |
DefaultDependencyCycle(NodeStack nodes,
int cycleEntry,
Dependency dependency) |
PremanagedDependency(java.lang.String premanagedVersion,
java.lang.String premanagedScope,
java.lang.Boolean premanagedOptional,
java.util.Collection<Exclusion> premanagedExclusions,
java.util.Map<java.lang.String,java.lang.String> premanagedProperties,
int managedBits,
Dependency managedDependency,
boolean premanagedState) |
Constructor and Description |
---|
DefaultDependencyCollectionContext(RepositorySystemSession session,
Artifact artifact,
Dependency dependency,
java.util.List<Dependency> managedDependencies) |
Modifier and Type | Field and Description |
---|---|
private Dependency |
TestVersionFilterContext.dependency |
private Dependency |
TestDependencyCollectionContext.dependency |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Dependency> |
ArtifactDescription.dependencies |
private java.util.List<Dependency> |
ArtifactDescription.managedDependencies |
private java.util.List<Dependency> |
TestDependencyCollectionContext.managedDependencies |
Modifier and Type | Method and Description |
---|---|
Dependency |
TestVersionFilterContext.getDependency() |
Dependency |
TestDependencyCollectionContext.getDependency() |
Modifier and Type | Method and Description |
---|---|
private java.util.List<Dependency> |
IniArtifactDataReader.dependencies(java.util.List<java.lang.String> list,
boolean managed) |
java.util.List<Dependency> |
ArtifactDescription.getDependencies() |
java.util.List<Dependency> |
ArtifactDescription.getManagedDependencies() |
java.util.List<Dependency> |
TestDependencyCollectionContext.getManagedDependencies() |
Modifier and Type | Method and Description |
---|---|
static DependencyCollectionContext |
TestUtils.newCollectionContext(RepositorySystemSession session,
Artifact artifact,
Dependency dependency,
java.util.List<Dependency> managedDependencies)
Creates a new dependency collection context.
|
static DependencyCollectionContext |
TestUtils.newCollectionContext(RepositorySystemSession session,
Dependency dependency,
java.util.List<Dependency> managedDependencies)
Creates a new dependency collection context.
|
Modifier and Type | Method and Description |
---|---|
static DependencyCollectionContext |
TestUtils.newCollectionContext(RepositorySystemSession session,
Artifact artifact,
Dependency dependency,
java.util.List<Dependency> managedDependencies)
Creates a new dependency collection context.
|
static DependencyCollectionContext |
TestUtils.newCollectionContext(RepositorySystemSession session,
Dependency dependency,
java.util.List<Dependency> managedDependencies)
Creates a new dependency collection context.
|
Constructor and Description |
---|
TestDependencyCollectionContext(RepositorySystemSession session,
Artifact artifact,
Dependency dependency,
java.util.List<Dependency> managedDependencies) |
Constructor and Description |
---|
ArtifactDescription(Artifact relocation,
java.util.List<Dependency> dependencies,
java.util.List<Dependency> managedDependencies,
java.util.List<RemoteRepository> repositories) |
ArtifactDescription(Artifact relocation,
java.util.List<Dependency> dependencies,
java.util.List<Dependency> managedDependencies,
java.util.List<RemoteRepository> repositories) |
TestDependencyCollectionContext(RepositorySystemSession session,
Artifact artifact,
Dependency dependency,
java.util.List<Dependency> managedDependencies) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Dependency> |
ArtifactDescriptorResult.dependencies |
private java.util.List<Dependency> |
ArtifactDescriptorResult.managedDependencies |
Modifier and Type | Method and Description |
---|---|
java.util.List<Dependency> |
ArtifactDescriptorResult.getDependencies()
Gets the list of direct dependencies of the artifact.
|
java.util.List<Dependency> |
ArtifactDescriptorResult.getManagedDependencies()
Gets the dependency management information.
|
Modifier and Type | Method and Description |
---|---|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addDependency(Dependency dependency)
Adds the specified direct dependency.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addManagedDependency(Dependency dependency)
Adds the specified managed dependency.
|
Modifier and Type | Method and Description |
---|---|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setDependencies(java.util.List<Dependency> dependencies)
Sets the list of direct dependencies of the artifact.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setManagedDependencies(java.util.List<Dependency> dependencies)
Sets the dependency management information.
|
Modifier and Type | Method and Description |
---|---|
DependencyManagement |
ClassicDependencyManager.manageDependency(Dependency dependency) |
DependencyManagement |
NoopDependencyManager.manageDependency(Dependency dependency) |
Modifier and Type | Method and Description |
---|---|
boolean |
OptionalDependencySelector.selectDependency(Dependency dependency) |
boolean |
ScopeDependencySelector.selectDependency(Dependency dependency) |
boolean |
ExclusionDependencySelector.selectDependency(Dependency dependency) |
boolean |
StaticDependencySelector.selectDependency(Dependency dependency) |
boolean |
AndDependencySelector.selectDependency(Dependency dependency) |
Modifier and Type | Method and Description |
---|---|
Dependency |
ConflictResolver.ConflictItem.getDependency()
Gets the dependency involved in the conflict, short for
getNode.getDependency() . |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
ConflictResolver.State.scope(Dependency dependency) |
private void |
ConflictResolver.State.scopes(int parent,
Dependency child) |
Modifier and Type | Method and Description |
---|---|
boolean |
StaticDependencyTraverser.traverseDependency(Dependency dependency) |
boolean |
AndDependencyTraverser.traverseDependency(Dependency dependency) |
boolean |
FatArtifactTraverser.traverseDependency(Dependency dependency) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Dependency> |
AbstractDepthFirstNodeListGenerator.getDependencies(boolean includeUnresolved)
Gets the dependencies seen during the graph traversal.
|