Package | Description |
---|---|
org.eclipse.aether |
The primary API of the
RepositorySystem and its functionality. |
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.deployment |
The types supporting the publishing of artifacts to a remote repository.
|
org.eclipse.aether.graph |
The representation of a dependency graph by means of connected dependency nodes.
|
org.eclipse.aether.repository |
The definition of various kinds of repositories that host artifacts.
|
org.eclipse.aether.resolution |
The types supporting the resolution of artifacts and metadata from repositories.
|
org.eclipse.aether.transfer |
A listener and various exception types dealing with the transfer of a resource between the local system and a remote
repository.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
RepositorySystem.newDeploymentRepository(RepositorySystemSession session,
RemoteRepository repository)
Forms a remote repository suitable for artifact deployment by applying the session's authentication selector and
similar network configuration to the given repository prototype.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
RepositorySystem.newResolutionRepositories(RepositorySystemSession session,
List<RemoteRepository> repositories)
Forms remote repositories suitable for artifact resolution by applying the session's authentication selector and
similar network configuration to the given repository prototypes.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
RepositorySystem.newDeploymentRepository(RepositorySystemSession session,
RemoteRepository repository)
Forms a remote repository suitable for artifact deployment by applying the session's authentication selector and
similar network configuration to the given repository prototype.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
RepositorySystem.newResolutionRepositories(RepositorySystemSession session,
List<RemoteRepository> repositories)
Forms remote repositories suitable for artifact resolution by applying the session's authentication selector and
similar network configuration to the given repository prototypes.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
CollectRequest.getRepositories()
Gets the repositories to use for the collection.
|
List<RemoteRepository> |
VersionFilter.VersionFilterContext.getRepositories()
Gets the remote repositories from which the versions were resolved.
|
Modifier and Type | Method and Description |
---|---|
CollectRequest |
CollectRequest.addRepository(RemoteRepository repository)
Adds the specified repository for collection.
|
Modifier and Type | Method and Description |
---|---|
CollectRequest |
CollectRequest.setRepositories(List<RemoteRepository> repositories)
Sets the repositories to use for the collection.
|
Constructor and Description |
---|
CollectRequest(Dependency root,
List<Dependency> dependencies,
List<RemoteRepository> repositories)
Creates a new request with the specified properties.
|
CollectRequest(Dependency root,
List<RemoteRepository> repositories)
Creates a request with the specified properties.
|
CollectRequest(List<Dependency> dependencies,
List<Dependency> managedDependencies,
List<RemoteRepository> repositories)
Creates a new request with the specified properties.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
DeployRequest.getRepository()
Gets the repository to deploy to.
|
Modifier and Type | Method and Description |
---|---|
DeployRequest |
DeployRequest.setRepository(RemoteRepository repository)
Sets the repository to deploy to.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
DependencyNode.getRepositories()
Gets the remote repositories from which this node's artifact shall be resolved.
|
List<RemoteRepository> |
DefaultDependencyNode.getRepositories() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultDependencyNode.setRepositories(List<RemoteRepository> repositories)
Sets the remote repositories from which this node's artifact shall be resolved.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
RemoteRepository.Builder.build()
Builds a new remote repository from the current values of this builder.
|
RemoteRepository |
MirrorSelector.getMirror(RemoteRepository repository)
Selects a mirror for the specified repository.
|
RemoteRepository |
LocalMetadataRequest.getRepository()
Gets the remote repository to use as source of the metadata.
|
RemoteRepository |
AuthenticationContext.getRepository()
Gets the repository requiring authentication.
|
RemoteRepository |
AuthenticationDigest.getRepository()
Gets the repository requiring authentication.
|
RemoteRepository |
LocalArtifactRegistration.getRepository()
Gets the remote repository from which the artifact was resolved.
|
RemoteRepository |
LocalMetadataRegistration.getRepository()
Gets the remote repository from which the metadata was resolved.
|
RemoteRepository |
LocalArtifactResult.getRepository()
Gets the (first) remote repository from which the artifact was cached (if any).
|
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
RemoteRepository.getMirroredRepositories()
Gets the repositories that this repository serves as a mirror for.
|
List<RemoteRepository> |
LocalArtifactRequest.getRepositories()
Gets the remote repositories to consider as sources of the artifact.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository.Builder |
RemoteRepository.Builder.addMirroredRepository(RemoteRepository mirroredRepository)
Adds the specified repository to the list of repositories being mirrored by the repository.
|
static AuthenticationContext |
AuthenticationContext.forProxy(RepositorySystemSession session,
RemoteRepository repository)
Gets an authentication context for the proxy of the specified repository.
|
static String |
AuthenticationDigest.forProxy(RepositorySystemSession session,
RemoteRepository repository)
Gets the fingerprint for the authentication of the specified repository's proxy.
|
static AuthenticationContext |
AuthenticationContext.forRepository(RepositorySystemSession session,
RemoteRepository repository)
Gets an authentication context for the specified repository.
|
static String |
AuthenticationDigest.forRepository(RepositorySystemSession session,
RemoteRepository repository)
Gets the fingerprint for the authentication of the specified repository.
|
Authentication |
AuthenticationSelector.getAuthentication(RemoteRepository repository)
Selects authentication for the specified remote repository.
|
RemoteRepository |
MirrorSelector.getMirror(RemoteRepository repository)
Selects a mirror for the specified repository.
|
String |
LocalRepositoryManager.getPathForRemoteArtifact(Artifact artifact,
RemoteRepository repository,
String context)
Gets the relative path for an artifact cached from a remote repository.
|
String |
LocalRepositoryManager.getPathForRemoteMetadata(Metadata metadata,
RemoteRepository repository,
String context)
Gets the relative path for metadata cached from a remote repository.
|
Proxy |
ProxySelector.getProxy(RemoteRepository repository)
Selects a proxy for the specified remote repository.
|
LocalMetadataRequest |
LocalMetadataRequest.setRepository(RemoteRepository repository)
Sets the remote repository to use as sources of the metadata.
|
LocalArtifactRegistration |
LocalArtifactRegistration.setRepository(RemoteRepository repository)
Sets the remote repository from which the artifact was resolved.
|
LocalMetadataRegistration |
LocalMetadataRegistration.setRepository(RemoteRepository repository)
Sets the remote repository from which the metadata was resolved.
|
LocalArtifactResult |
LocalArtifactResult.setRepository(RemoteRepository repository)
Sets the (first) remote repository from which the artifact was cached.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository.Builder |
RemoteRepository.Builder.setMirroredRepositories(List<RemoteRepository> mirroredRepositories)
Sets the repositories being mirrored by the repository.
|
LocalArtifactRequest |
LocalArtifactRequest.setRepositories(List<RemoteRepository> repositories)
Sets the remote repositories to consider as sources of the artifact.
|
Constructor and Description |
---|
LocalArtifactRegistration(Artifact artifact,
RemoteRepository repository,
Collection<String> contexts)
Creates a registration request for the specified artifact.
|
LocalMetadataRegistration(Metadata metadata,
RemoteRepository repository,
Collection<String> contexts)
Creates a registration request for the specified metadata.
|
LocalMetadataRequest(Metadata metadata,
RemoteRepository repository,
String context)
Creates a query with the specified properties.
|
RemoteRepository.Builder(RemoteRepository prototype)
Creates a new repository builder which uses the specified remote repository as a prototype for the new one.
|
Constructor and Description |
---|
LocalArtifactRequest(Artifact artifact,
List<RemoteRepository> repositories,
String context)
Creates a query with the specified properties.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
MetadataRequest.getRepository()
Gets the repository from which the metadata should be resolved.
|
RemoteRepository |
ResolutionErrorPolicyRequest.getRepository()
Gets the remote repository from which the resolution of the artifact/metadata is attempted.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
ArtifactDescriptorResult.getRepositories()
Gets the remote repositories listed in the artifact descriptor.
|
List<RemoteRepository> |
ArtifactRequest.getRepositories()
Gets the repositories to resolve the artifact from.
|
List<RemoteRepository> |
ArtifactDescriptorRequest.getRepositories()
Gets the repositories to resolve the descriptor from.
|
List<RemoteRepository> |
VersionRangeRequest.getRepositories()
Gets the repositories to resolve the version range from.
|
List<RemoteRepository> |
VersionRequest.getRepositories()
Gets the repositories to resolve the version from.
|
Modifier and Type | Method and Description |
---|---|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addRepository(RemoteRepository repository)
Adds the specified remote repository.
|
ArtifactRequest |
ArtifactRequest.addRepository(RemoteRepository repository)
Adds the specified repository for the resolution.
|
ArtifactDescriptorRequest |
ArtifactDescriptorRequest.addRepository(RemoteRepository repository)
Adds the specified repository for the resolution of the artifact descriptor.
|
VersionRangeRequest |
VersionRangeRequest.addRepository(RemoteRepository repository)
Adds the specified repository for the resolution.
|
VersionRequest |
VersionRequest.addRepository(RemoteRepository repository)
Adds the specified repository for the resolution.
|
MetadataRequest |
MetadataRequest.setRepository(RemoteRepository repository)
Sets the repository from which the metadata should be resolved.
|
ResolutionErrorPolicyRequest<T> |
ResolutionErrorPolicyRequest.setRepository(RemoteRepository repository)
Sets the remote repository from which the resolution of the artifact/metadata is attempted.
|
Modifier and Type | Method and Description |
---|---|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setRepositories(List<RemoteRepository> repositories)
Sets the remote repositories listed in the artifact descriptor.
|
ArtifactRequest |
ArtifactRequest.setRepositories(List<RemoteRepository> repositories)
Sets the repositories to resolve the artifact from.
|
ArtifactDescriptorRequest |
ArtifactDescriptorRequest.setRepositories(List<RemoteRepository> repositories)
Sets the repositories to resolve the descriptor from.
|
VersionRangeRequest |
VersionRangeRequest.setRepositories(List<RemoteRepository> repositories)
Sets the repositories to resolve the version range from.
|
VersionRequest |
VersionRequest.setRepositories(List<RemoteRepository> repositories)
Sets the repositories to resolve the version from.
|
Constructor and Description |
---|
MetadataRequest(Metadata metadata,
RemoteRepository repository,
String context)
Creates a request with the specified properties.
|
ResolutionErrorPolicyRequest(T item,
RemoteRepository repository)
Creates a request for the specified artifact/metadata and remote repository.
|
Constructor and Description |
---|
ArtifactDescriptorRequest(Artifact artifact,
List<RemoteRepository> repositories,
String context)
Creates a request with the specified properties.
|
ArtifactRequest(Artifact artifact,
List<RemoteRepository> repositories,
String context)
Creates a request with the specified properties.
|
VersionRangeRequest(Artifact artifact,
List<RemoteRepository> repositories,
String context)
Creates a request with the specified properties.
|
VersionRequest(Artifact artifact,
List<RemoteRepository> repositories,
String context)
Creates a request with the specified properties.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
NoRepositoryLayoutException.getRepository()
Gets the remote repository whose layout is not supported.
|
RemoteRepository |
RepositoryOfflineException.getRepository()
Gets the remote repository that could not be accessed due to offline mode.
|
RemoteRepository |
NoRepositoryConnectorException.getRepository()
Gets the remote repository whose content type is not supported.
|
RemoteRepository |
ArtifactTransferException.getRepository()
Gets the remote repository involved in the transfer.
|
RemoteRepository |
NoTransporterException.getRepository()
Gets the remote repository whose transport protocol is not supported.
|
RemoteRepository |
MetadataTransferException.getRepository()
Gets the remote repository involved in the transfer.
|
Constructor and Description |
---|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository)
Creates a new exception with the specified artifact and repository.
|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository,
String message)
Creates a new exception with the specified artifact, repository and detail message.
|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository,
String message,
boolean fromCache)
Creates a new exception with the specified artifact, repository and detail message.
|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository,
String message,
Throwable cause)
Creates a new exception with the specified artifact, repository, detail message and cause.
|
ArtifactTransferException(Artifact artifact,
RemoteRepository repository,
String message)
Creates a new exception with the specified artifact, repository and detail message.
|
ArtifactTransferException(Artifact artifact,
RemoteRepository repository,
String message,
boolean fromCache)
Creates a new exception with the specified artifact, repository and detail message.
|
ArtifactTransferException(Artifact artifact,
RemoteRepository repository,
String message,
Throwable cause)
Creates a new exception with the specified artifact, repository, detail message and cause.
|
ArtifactTransferException(Artifact artifact,
RemoteRepository repository,
Throwable cause)
Creates a new exception with the specified artifact, repository and cause.
|
MetadataNotFoundException(Metadata metadata,
RemoteRepository repository)
Creates a new exception with the specified metadata and repository.
|
MetadataNotFoundException(Metadata metadata,
RemoteRepository repository,
String message)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataNotFoundException(Metadata metadata,
RemoteRepository repository,
String message,
boolean fromCache)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataNotFoundException(Metadata metadata,
RemoteRepository repository,
String message,
Throwable cause)
Creates a new exception with the specified metadata, repository, detail message and cause.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
String message)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
String message,
boolean fromCache)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
String message,
Throwable cause)
Creates a new exception with the specified metadata, repository, detail message and cause.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
Throwable cause)
Creates a new exception with the specified metadata, repository and cause.
|
NoRepositoryConnectorException(RemoteRepository repository)
Creates a new exception with the specified repository.
|
NoRepositoryConnectorException(RemoteRepository repository,
String message)
Creates a new exception with the specified repository and detail message.
|
NoRepositoryConnectorException(RemoteRepository repository,
String message,
Throwable cause)
Creates a new exception with the specified repository, detail message and cause.
|
NoRepositoryConnectorException(RemoteRepository repository,
Throwable cause)
Creates a new exception with the specified repository and cause.
|
NoRepositoryLayoutException(RemoteRepository repository)
Creates a new exception with the specified repository.
|
NoRepositoryLayoutException(RemoteRepository repository,
String message)
Creates a new exception with the specified repository and detail message.
|
NoRepositoryLayoutException(RemoteRepository repository,
String message,
Throwable cause)
Creates a new exception with the specified repository, detail message and cause.
|
NoRepositoryLayoutException(RemoteRepository repository,
Throwable cause)
Creates a new exception with the specified repository and cause.
|
NoTransporterException(RemoteRepository repository)
Creates a new exception with the specified repository.
|
NoTransporterException(RemoteRepository repository,
String message)
Creates a new exception with the specified repository and detail message.
|
NoTransporterException(RemoteRepository repository,
String message,
Throwable cause)
Creates a new exception with the specified repository, detail message and cause.
|
NoTransporterException(RemoteRepository repository,
Throwable cause)
Creates a new exception with the specified repository and cause.
|
RepositoryOfflineException(RemoteRepository repository)
Creates a new exception with the specified repository.
|
RepositoryOfflineException(RemoteRepository repository,
String message)
Creates a new exception with the specified repository and detail message.
|
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.