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 and Description |
---|---|
ArtifactDescriptorResult |
RepositorySystem.readArtifactDescriptor(RepositorySystemSession session,
ArtifactDescriptorRequest request)
Gets information about an artifact like its direct dependencies and potential relocations.
|
Modifier and Type | Method and Description |
---|---|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addAlias(Artifact alias)
Records the specified alias.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addDependency(Dependency dependency)
Adds the specified direct dependency.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addException(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(Collection<Artifact> aliases)
Sets the aliases of the artifact.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setArtifact(Artifact artifact)
Sets the artifact whose descriptor was read.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setDependencies(List<Dependency> dependencies)
Sets the list of direct dependencies of the artifact.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setExceptions(List<Exception> exceptions)
Sets the exceptions that occurred while reading the artifact descriptor.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setManagedDependencies(List<Dependency> dependencies)
Sets the dependency management information.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setProperties(Map<String,Object> properties)
Sets any additional information about the artifact in form of key-value pairs.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setRelocations(List<Artifact> relocations)
Sets the relocations that were processed to read the artifact descriptor.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setRepositories(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 and Description |
---|
ArtifactDescriptorException(ArtifactDescriptorResult result)
Creates a new exception with the specified result.
|
ArtifactDescriptorException(ArtifactDescriptorResult result,
String message)
Creates a new exception with the specified result and detail message.
|
ArtifactDescriptorException(ArtifactDescriptorResult result,
String message,
Throwable cause)
Creates a new exception with the specified result, detail message and cause.
|
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.