| 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 |
|---|---|---|
ArtifactResult |
RepositorySystem.resolveArtifact(RepositorySystemSession session,
ArtifactRequest request) |
Resolves the path for an artifact.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<ArtifactResult> |
RepositorySystem.resolveArtifacts(RepositorySystemSession session,
java.util.Collection<? extends ArtifactRequest> requests) |
Resolves the paths for a collection of artifacts.
|
| Modifier and Type | Method | Description |
|---|---|---|
ArtifactResult |
ArtifactResult.addException(java.lang.Exception exception) |
Records the specified exception while resolving the artifact.
|
ArtifactResult |
ArtifactResolutionException.getResult() |
Gets the first result from
ArtifactResolutionException.getResults(). |
ArtifactResult |
ArtifactResult.setArtifact(Artifact artifact) |
Sets the resolved artifact.
|
ArtifactResult |
ArtifactResult.setRepository(ArtifactRepository repository) |
Sets the repository from which the artifact was resolved.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<ArtifactResult> |
DependencyResult.getArtifactResults() |
Gets the resolution results for the dependency artifacts that matched
DependencyRequest.getFilter(). |
java.util.List<ArtifactResult> |
ArtifactResolutionException.getResults() |
Gets the resolution results at the point the exception occurred.
|
| Modifier and Type | Method | Description |
|---|---|---|
DependencyResult |
DependencyResult.setArtifactResults(java.util.List<ArtifactResult> results) |
Sets the resolution results for the artifacts that matched
DependencyRequest.getFilter(). |
| Constructor | Description |
|---|---|
ArtifactResolutionException(java.util.List<ArtifactResult> results) |
Creates a new exception with the specified results.
|
ArtifactResolutionException(java.util.List<ArtifactResult> results,
java.lang.String message) |
Creates a new exception with the specified results and detail message.
|
ArtifactResolutionException(java.util.List<ArtifactResult> results,
java.lang.String message,
java.lang.Throwable cause) |
Creates a new exception with the specified results, detail message and cause.
|