| Package | Description |
|---|---|
| org.eclipse.aether |
The primary API of the
RepositorySystem and its functionality. |
| org.eclipse.aether.resolution |
The types supporting the resolution of artifacts and metadata from repositories.
|
| Modifier and Type | Method | Description |
|---|---|---|
ArtifactDescriptorResult |
RepositorySystem.readArtifactDescriptor(RepositorySystemSession session,
ArtifactDescriptorRequest request) |
Gets information about an artifact like its direct dependencies and potential relocations.
|
| Modifier and Type | Method | Description |
|---|---|---|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addAlias(Artifact alias) |
Records the specified alias.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addDependency(Dependency dependency) |
Adds the specified direct dependency.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addException(java.lang.Exception exception) |
Records the specified exception while reading the artifact descriptor.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addManagedDependency(Dependency dependency) |
Adds the specified managed dependency.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addRelocation(Artifact artifact) |
Records the specified relocation hop while locating the artifact descriptor.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addRepository(RemoteRepository repository) |
Adds the specified remote repository.
|
ArtifactDescriptorResult |
ArtifactDescriptorException.getResult() |
Gets the descriptor result at the point the exception occurred.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setAliases(java.util.Collection<Artifact> aliases) |
Sets the aliases of the artifact.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setArtifact(Artifact artifact) |
Sets the artifact whose descriptor was read.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setDependencies(java.util.List<Dependency> dependencies) |
Sets the list of direct dependencies of the artifact.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setExceptions(java.util.List<java.lang.Exception> exceptions) |
Sets the exceptions that occurred while reading the artifact descriptor.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setManagedDependencies(java.util.List<Dependency> dependencies) |
Sets the dependency management information.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setProperties(java.util.Map<java.lang.String,java.lang.Object> properties) |
Sets any additional information about the artifact in form of key-value pairs.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setRelocations(java.util.List<Artifact> relocations) |
Sets the relocations that were processed to read the artifact descriptor.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setRepositories(java.util.List<RemoteRepository> repositories) |
Sets the remote repositories listed in the artifact descriptor.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setRepository(ArtifactRepository repository) |
Sets the repository from which the descriptor was resolved.
|
| Constructor | Description |
|---|---|
ArtifactDescriptorException(ArtifactDescriptorResult result) |
Creates a new exception with the specified result.
|
ArtifactDescriptorException(ArtifactDescriptorResult result,
java.lang.String message) |
Creates a new exception with the specified result and detail message.
|
ArtifactDescriptorException(ArtifactDescriptorResult result,
java.lang.String message,
java.lang.Throwable cause) |
Creates a new exception with the specified result, detail message and cause.
|