| 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 |
|---|---|---|
VersionResult |
RepositorySystem.resolveVersion(RepositorySystemSession session,
VersionRequest request) |
Resolves an artifact's meta version (if any) to a concrete version.
|
| Modifier and Type | Method | Description |
|---|---|---|
VersionResult |
VersionResult.addException(java.lang.Exception exception) |
Records the specified exception while resolving the version.
|
VersionResult |
VersionResolutionException.getResult() |
Gets the version result at the point the exception occurred.
|
VersionResult |
VersionResult.setRepository(ArtifactRepository repository) |
Sets the repository from which the version was resolved.
|
VersionResult |
VersionResult.setVersion(java.lang.String version) |
Sets the resolved version.
|
| Constructor | Description |
|---|---|
VersionResolutionException(VersionResult result) |
Creates a new exception with the specified result.
|
VersionResolutionException(VersionResult result,
java.lang.String message) |
Creates a new exception with the specified result and detail message.
|
VersionResolutionException(VersionResult result,
java.lang.String message,
java.lang.Throwable cause) |
Creates a new exception with the specified result, detail message and cause.
|