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.connector.basic |
Support for downloads/uploads using remote repositories that have a URI-based content structure/layout.
|
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.impl |
The provisional interfaces defining the various sub components that implement the repository system.
|
org.eclipse.aether.internal.impl |
The various sub components that collectively implement the repository system.
|
org.eclipse.aether.internal.impl.collect |
Internal helper classes for dependency collector.
|
org.eclipse.aether.internal.test.util |
Utility classes to ease unit testing.
|
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.spi.connector |
The contract to access artifacts/metadata in remote repositories.
|
org.eclipse.aether.spi.connector.checksum |
The support infrastructure for repository connectors to apply checksum policies when validating the integrity of
downloaded files.
|
org.eclipse.aether.spi.connector.layout |
The contract to locate URI-based resources using custom repository layouts.
|
org.eclipse.aether.spi.connector.transport |
The contract to download/upload URI-based resources using custom transport protocols.
|
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.
|
org.eclipse.aether.transport.wagon |
Support for downloads/uploads using Apache Maven Wagon.
|
org.eclipse.aether.util.repository |
Ready-to-use selectors for authentication, proxies and mirrors and a few other repository related utilities.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
DefaultRepositorySystemSession.NullMirrorSelector.getMirror(RemoteRepository repository) |
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 |
---|---|
java.util.List<RemoteRepository> |
RepositorySystem.newResolutionRepositories(RepositorySystemSession session,
java.util.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 |
---|---|
Authentication |
DefaultRepositorySystemSession.NullAuthenticationSelector.getAuthentication(RemoteRepository repository) |
RemoteRepository |
DefaultRepositorySystemSession.NullMirrorSelector.getMirror(RemoteRepository repository) |
Proxy |
DefaultRepositorySystemSession.NullProxySelector.getProxy(RemoteRepository repository) |
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 |
---|---|
java.util.List<RemoteRepository> |
RepositorySystem.newResolutionRepositories(RepositorySystemSession session,
java.util.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 | Field and Description |
---|---|
private java.util.List<RemoteRepository> |
CollectRequest.repositories |
Modifier and Type | Method and Description |
---|---|
java.util.List<RemoteRepository> |
CollectRequest.getRepositories()
Gets the repositories to use for the collection.
|
java.util.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(java.util.List<RemoteRepository> repositories)
Sets the repositories to use for the collection.
|
Constructor and Description |
---|
CollectRequest(Dependency root,
java.util.List<Dependency> dependencies,
java.util.List<RemoteRepository> repositories)
Creates a new request with the specified properties.
|
CollectRequest(Dependency root,
java.util.List<RemoteRepository> repositories)
Creates a request with the specified properties.
|
CollectRequest(java.util.List<Dependency> dependencies,
java.util.List<Dependency> managedDependencies,
java.util.List<RemoteRepository> repositories)
Creates a new request with the specified properties.
|
Modifier and Type | Field and Description |
---|---|
private RemoteRepository |
BasicRepositoryConnector.repository |
private RemoteRepository |
MetadataTransportListener.repository |
private RemoteRepository |
ArtifactTransportListener.repository |
Modifier and Type | Method and Description |
---|---|
RepositoryConnector |
BasicRepositoryConnectorFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Constructor and Description |
---|
ArtifactTransportListener(ArtifactTransfer transfer,
RemoteRepository repository,
TransferEvent.Builder eventBuilder) |
BasicRepositoryConnector(RepositorySystemSession session,
RemoteRepository repository,
TransporterProvider transporterProvider,
RepositoryLayoutProvider layoutProvider,
ChecksumPolicyProvider checksumPolicyProvider,
FileProcessor fileProcessor) |
MetadataTransportListener(MetadataTransfer transfer,
RemoteRepository repository,
TransferEvent.Builder eventBuilder) |
Modifier and Type | Field and Description |
---|---|
private RemoteRepository |
DeployRequest.repository |
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 | Field and Description |
---|---|
private java.util.List<RemoteRepository> |
DefaultDependencyNode.repositories |
Modifier and Type | Method and Description |
---|---|
java.util.List<RemoteRepository> |
DefaultDependencyNode.getRepositories() |
java.util.List<RemoteRepository> |
DependencyNode.getRepositories()
Gets the remote repositories from which this node's artifact shall be resolved.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultDependencyNode.setRepositories(java.util.List<RemoteRepository> repositories)
Sets the remote repositories from which this node's artifact shall be resolved.
|
Modifier and Type | Field and Description |
---|---|
private RemoteRepository |
UpdateCheck.authoritativeRepository |
private RemoteRepository |
UpdateCheck.repository |
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
UpdateCheck.getAuthoritativeRepository()
Gets the repository which ultimately hosts the metadata to update.
|
RemoteRepository |
UpdateCheck.getRepository()
Gets the repository from which a potential update/download will performed.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<RemoteRepository> |
RemoteRepositoryManager.aggregateRepositories(RepositorySystemSession session,
java.util.List<RemoteRepository> dominantRepositories,
java.util.List<RemoteRepository> recessiveRepositories,
boolean recessiveIsRaw)
Aggregates repository definitions by merging duplicate repositories and optionally applies mirror, proxy and
authentication settings from the supplied session.
|
Modifier and Type | Method and Description |
---|---|
void |
OfflineController.checkOffline(RepositorySystemSession session,
RemoteRepository repository)
Determines whether the specified repository is accessible if the system was in offline mode.
|
RepositoryPolicy |
RemoteRepositoryManager.getPolicy(RepositorySystemSession session,
RemoteRepository repository,
boolean releases,
boolean snapshots)
Gets the effective repository policy for the specified remote repository by merging the applicable
snapshot/release policy of the repository with global settings from the supplied session.
|
RepositoryConnector |
RepositoryConnectorProvider.newRepositoryConnector(RepositorySystemSession session,
RemoteRepository repository)
Tries to create a repository connector for the specified remote repository.
|
UpdateCheck<T,E> |
UpdateCheck.setAuthoritativeRepository(RemoteRepository authoritativeRepository)
Sets the repository which ultimately hosts the metadata to update.
|
UpdateCheck<T,E> |
UpdateCheck.setRepository(RemoteRepository repository)
Sets the repository from which a potential update/download will performed.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<RemoteRepository> |
RemoteRepositoryManager.aggregateRepositories(RepositorySystemSession session,
java.util.List<RemoteRepository> dominantRepositories,
java.util.List<RemoteRepository> recessiveRepositories,
boolean recessiveIsRaw)
Aggregates repository definitions by merging duplicate repositories and optionally applies mirror, proxy and
authentication settings from the supplied session.
|
java.util.List<RemoteRepository> |
RemoteRepositoryManager.aggregateRepositories(RepositorySystemSession session,
java.util.List<RemoteRepository> dominantRepositories,
java.util.List<RemoteRepository> recessiveRepositories,
boolean recessiveIsRaw)
Aggregates repository definitions by merging duplicate repositories and optionally applies mirror, proxy and
authentication settings from the supplied session.
|
Modifier and Type | Field and Description |
---|---|
private RemoteRepository |
DefaultDeployer.EventCatapult.repository |
(package private) RemoteRepository |
DefaultArtifactResolver.ResolutionGroup.repository |
(package private) RemoteRepository |
DefaultArtifactResolver.ResolutionItem.repository |
Modifier and Type | Method and Description |
---|---|
private RemoteRepository |
DefaultRemoteRepositoryManager.mergeMirrors(RepositorySystemSession session,
RemoteRepository dominant,
RemoteRepository recessive) |
RemoteRepository |
DefaultRepositorySystem.newDeploymentRepository(RepositorySystemSession session,
RemoteRepository repository) |
Modifier and Type | Method and Description |
---|---|
java.util.List<RemoteRepository> |
DefaultRemoteRepositoryManager.aggregateRepositories(RepositorySystemSession session,
java.util.List<RemoteRepository> dominantRepositories,
java.util.List<RemoteRepository> recessiveRepositories,
boolean recessiveIsRaw) |
private java.util.List<RemoteRepository> |
DefaultMetadataResolver.getEnabledSourceRepositories(RemoteRepository repository,
Metadata.Nature nature) |
java.util.List<RemoteRepository> |
DefaultRepositorySystem.newResolutionRepositories(RepositorySystemSession session,
java.util.List<RemoteRepository> repositories) |
Modifier and Type | Method and Description |
---|---|
private void |
DefaultArtifactResolver.artifactDownloaded(RepositorySystemSession session,
RequestTrace trace,
Artifact artifact,
RemoteRepository repository,
java.lang.Exception exception) |
private void |
DefaultArtifactResolver.artifactDownloading(RepositorySystemSession session,
RequestTrace trace,
Artifact artifact,
RemoteRepository repository) |
static void |
Utils.checkOffline(RepositorySystemSession session,
OfflineController offlineController,
RemoteRepository repository) |
void |
DefaultOfflineController.checkOffline(RepositorySystemSession session,
RemoteRepository repository) |
private java.lang.String |
DefaultUpdateCheckManager.getDataKey(Artifact artifact,
java.io.File artifactFile,
RemoteRepository repository) |
private java.lang.String |
DefaultUpdateCheckManager.getDataKey(Metadata metadata,
java.io.File metadataFile,
RemoteRepository repository) |
private java.util.List<RemoteRepository> |
DefaultMetadataResolver.getEnabledSourceRepositories(RemoteRepository repository,
Metadata.Nature nature) |
private java.lang.String |
DefaultRemoteRepositoryManager.getKey(RemoteRepository repository) |
java.lang.String |
SimpleLocalRepositoryManager.getPathForRemoteArtifact(Artifact artifact,
RemoteRepository repository,
java.lang.String context) |
java.lang.String |
SimpleLocalRepositoryManager.getPathForRemoteMetadata(Metadata metadata,
RemoteRepository repository,
java.lang.String context) |
static int |
Utils.getPolicy(RepositorySystemSession session,
Artifact artifact,
RemoteRepository repository) |
static int |
Utils.getPolicy(RepositorySystemSession session,
Metadata metadata,
RemoteRepository repository) |
RepositoryPolicy |
DefaultRemoteRepositoryManager.getPolicy(RepositorySystemSession session,
RemoteRepository repository,
boolean releases,
boolean snapshots) |
private RepositoryPolicy |
DefaultDeployer.getPolicy(RepositorySystemSession session,
RemoteRepository repository,
Metadata.Nature nature) |
private RepositoryPolicy |
DefaultMetadataResolver.getPolicy(RepositorySystemSession session,
RemoteRepository repository,
Metadata.Nature nature) |
private java.lang.String |
DefaultUpdateCheckManager.getRepoKey(RepositorySystemSession session,
RemoteRepository repository) |
(package private) java.lang.String |
SimpleLocalRepositoryManager.getRepositoryKey(RemoteRepository repository,
java.lang.String context) |
private java.util.Collection<java.lang.String> |
EnhancedLocalRepositoryManager.getRepositoryKeys(RemoteRepository repository,
java.util.Collection<java.lang.String> contexts) |
private java.lang.String |
DefaultUpdateCheckManager.getTransferKey(RepositorySystemSession session,
Artifact artifact,
java.io.File artifactFile,
RemoteRepository repository) |
private java.lang.String |
DefaultUpdateCheckManager.getTransferKey(RepositorySystemSession session,
Metadata metadata,
java.io.File metadataFile,
RemoteRepository repository) |
private java.lang.String |
DefaultUpdateCheckManager.getUpdateKey(RepositorySystemSession session,
java.io.File file,
RemoteRepository repository) |
private boolean |
DefaultMetadataResolver.isEnabled(RemoteRepository repository,
Metadata.Nature nature) |
private boolean |
DefaultOfflineController.isOfflineHost(RepositorySystemSession session,
RemoteRepository repository) |
private boolean |
DefaultOfflineController.isOfflineProtocol(RepositorySystemSession session,
RemoteRepository repository) |
private void |
DefaultRemoteRepositoryManager.logMirror(RepositorySystemSession session,
RemoteRepository original,
RemoteRepository mirror) |
(package private) boolean |
DefaultArtifactResolver.ResolutionGroup.matches(RemoteRepository repo) |
private RemoteRepository |
DefaultRemoteRepositoryManager.mergeMirrors(RepositorySystemSession session,
RemoteRepository dominant,
RemoteRepository recessive) |
ChecksumPolicy |
DefaultChecksumPolicyProvider.newChecksumPolicy(RepositorySystemSession session,
RemoteRepository repository,
TransferResource resource,
java.lang.String policy) |
RemoteRepository |
DefaultRepositorySystem.newDeploymentRepository(RepositorySystemSession session,
RemoteRepository repository) |
private ArtifactTransferException |
DefaultUpdateCheckManager.newException(java.lang.String error,
Artifact artifact,
RemoteRepository repository) |
private MetadataTransferException |
DefaultUpdateCheckManager.newException(java.lang.String error,
Metadata metadata,
RemoteRepository repository) |
RepositoryLayout |
Maven2RepositoryLayoutFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository) |
RepositoryConnector |
DefaultRepositoryConnectorProvider.newRepositoryConnector(RepositorySystemSession session,
RemoteRepository repository) |
RepositoryLayout |
DefaultRepositoryLayoutProvider.newRepositoryLayout(RepositorySystemSession session,
RemoteRepository repository) |
Transporter |
DefaultTransporterProvider.newTransporter(RepositorySystemSession session,
RemoteRepository repository) |
private void |
DefaultDeployer.upload(java.util.Collection<MetadataUpload> metadataUploads,
RepositorySystemSession session,
Metadata metadata,
RemoteRepository repository,
RepositoryConnector connector,
DefaultDeployer.EventCatapult catapult) |
Modifier and Type | Method and Description |
---|---|
java.util.List<RemoteRepository> |
DefaultRemoteRepositoryManager.aggregateRepositories(RepositorySystemSession session,
java.util.List<RemoteRepository> dominantRepositories,
java.util.List<RemoteRepository> recessiveRepositories,
boolean recessiveIsRaw) |
java.util.List<RemoteRepository> |
DefaultRemoteRepositoryManager.aggregateRepositories(RepositorySystemSession session,
java.util.List<RemoteRepository> dominantRepositories,
java.util.List<RemoteRepository> recessiveRepositories,
boolean recessiveIsRaw) |
java.util.List<RemoteRepository> |
DefaultRepositorySystem.newResolutionRepositories(RepositorySystemSession session,
java.util.List<RemoteRepository> repositories) |
Constructor and Description |
---|
EventCatapult(RepositorySystemSession session,
RequestTrace trace,
RemoteRepository repository,
RepositoryEventDispatcher dispatcher) |
LoggedMirror(RemoteRepository original,
RemoteRepository mirror) |
ResolutionGroup(RemoteRepository repository) |
ResolutionItem(RequestTrace trace,
Artifact artifact,
java.util.concurrent.atomic.AtomicBoolean resolved,
ArtifactResult result,
LocalArtifactResult local,
RemoteRepository repository) |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<RemoteRepository> |
DataPool.GoodDescriptor.repositories |
private java.util.List<RemoteRepository> |
DataPool.ConstraintKey.repositories |
private java.util.List<RemoteRepository> |
DataPool.GraphKey.repositories |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<RemoteRepository> |
DefaultDependencyCollector.getRemoteRepositories(ArtifactRepository repository,
java.util.List<RemoteRepository> repositories) |
java.util.List<RemoteRepository> |
DefaultVersionFilterContext.getRepositories() |
Modifier and Type | Method and Description |
---|---|
private static ArtifactDescriptorRequest |
DefaultDependencyCollector.createArtifactDescriptorRequest(DefaultDependencyCollector.Args args,
java.util.List<RemoteRepository> repositories,
Dependency d) |
private static DefaultDependencyNode |
DefaultDependencyCollector.createDependencyNode(java.util.List<Artifact> relocations,
DefaultDependencyCollector.PremanagedDependency preManaged,
VersionRangeResult rangeResult,
Version version,
Dependency d,
java.util.Collection<Artifact> aliases,
java.util.List<RemoteRepository> repos,
java.lang.String requestContext) |
private static VersionRangeRequest |
DefaultDependencyCollector.createVersionRangeRequest(DefaultDependencyCollector.Args args,
java.util.List<RemoteRepository> repositories,
Dependency dependency) |
private void |
DefaultDependencyCollector.doRecurse(DefaultDependencyCollector.Args args,
DefaultDependencyCollector.Results results,
java.util.List<RemoteRepository> repositories,
DependencySelector depSelector,
DependencyManager depManager,
DependencyTraverser depTraverser,
VersionFilter verFilter,
Dependency d,
ArtifactDescriptorResult descriptorResult,
DefaultDependencyNode child) |
private static boolean |
DataPool.ConstraintKey.equals(java.util.List<RemoteRepository> repos1,
java.util.List<RemoteRepository> repos2) |
private static boolean |
DataPool.ConstraintKey.equals(java.util.List<RemoteRepository> repos1,
java.util.List<RemoteRepository> repos2) |
private static java.util.List<RemoteRepository> |
DefaultDependencyCollector.getRemoteRepositories(ArtifactRepository repository,
java.util.List<RemoteRepository> repositories) |
private void |
DefaultDependencyCollector.process(DefaultDependencyCollector.Args args,
DefaultDependencyCollector.Results results,
java.util.List<Dependency> dependencies,
java.util.List<RemoteRepository> repositories,
DependencySelector depSelector,
DependencyManager depManager,
DependencyTraverser depTraverser,
VersionFilter verFilter) |
private void |
DefaultDependencyCollector.processDependency(DefaultDependencyCollector.Args args,
DefaultDependencyCollector.Results results,
java.util.List<RemoteRepository> repositories,
DependencySelector depSelector,
DependencyManager depManager,
DependencyTraverser depTraverser,
VersionFilter verFilter,
Dependency dependency) |
private void |
DefaultDependencyCollector.processDependency(DefaultDependencyCollector.Args args,
DefaultDependencyCollector.Results results,
java.util.List<RemoteRepository> repositories,
DependencySelector depSelector,
DependencyManager depManager,
DependencyTraverser depTraverser,
VersionFilter verFilter,
Dependency dependency,
java.util.List<Artifact> relocations,
boolean disableVersionManagement) |
java.lang.Object |
DataPool.toKey(Artifact artifact,
java.util.List<RemoteRepository> repositories,
DependencySelector selector,
DependencyManager manager,
DependencyTraverser traverser,
VersionFilter filter) |
Constructor and Description |
---|
GraphKey(Artifact artifact,
java.util.List<RemoteRepository> repositories,
DependencySelector selector,
DependencyManager manager,
DependencyTraverser traverser,
VersionFilter filter) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<RemoteRepository> |
ArtifactDescription.repositories |
Modifier and Type | Method and Description |
---|---|
java.util.List<RemoteRepository> |
ArtifactDescription.getRepositories() |
java.util.List<RemoteRepository> |
TestVersionFilterContext.getRepositories() |
private java.util.List<RemoteRepository> |
IniArtifactDataReader.repositories(java.util.List<java.lang.String> list) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
TestLocalRepositoryManager.getPathForRemoteArtifact(Artifact artifact,
RemoteRepository repository,
java.lang.String context) |
java.lang.String |
TestLocalRepositoryManager.getPathForRemoteMetadata(Metadata metadata,
RemoteRepository repository,
java.lang.String context) |
Constructor and Description |
---|
ArtifactDescription(Artifact relocation,
java.util.List<Dependency> dependencies,
java.util.List<Dependency> managedDependencies,
java.util.List<RemoteRepository> repositories) |
Modifier and Type | Field and Description |
---|---|
(package private) RemoteRepository |
RemoteRepository.Builder.prototype |
private RemoteRepository |
AuthenticationDigest.repository |
private RemoteRepository |
LocalArtifactResult.repository |
private RemoteRepository |
LocalMetadataRegistration.repository |
private RemoteRepository |
LocalArtifactRegistration.repository |
private RemoteRepository |
LocalMetadataRequest.repository |
private RemoteRepository |
AuthenticationContext.repository |
Modifier and Type | Field and Description |
---|---|
private java.util.List<RemoteRepository> |
RemoteRepository.mirroredRepositories |
(package private) java.util.List<RemoteRepository> |
RemoteRepository.Builder.mirroredRepositories |
private java.util.List<RemoteRepository> |
LocalArtifactRequest.repositories |
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 |
AuthenticationDigest.getRepository()
Gets the repository requiring authentication.
|
RemoteRepository |
LocalArtifactResult.getRepository()
Gets the (first) remote repository from which the artifact was cached (if any).
|
RemoteRepository |
LocalMetadataRegistration.getRepository()
Gets the remote repository from which the metadata was resolved.
|
RemoteRepository |
LocalArtifactRegistration.getRepository()
Gets the remote repository from which the artifact was resolved.
|
RemoteRepository |
LocalMetadataRequest.getRepository()
Gets the remote repository to use as source of the metadata.
|
RemoteRepository |
AuthenticationContext.getRepository()
Gets the repository requiring authentication.
|
Modifier and Type | Method and Description |
---|---|
private static java.util.List<RemoteRepository> |
RemoteRepository.copy(java.util.List<RemoteRepository> repos) |
java.util.List<RemoteRepository> |
RemoteRepository.getMirroredRepositories()
Gets the repositories that this repository serves as a mirror for.
|
java.util.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 java.lang.String |
AuthenticationDigest.forProxy(RepositorySystemSession session,
RemoteRepository repository)
Gets the fingerprint for the authentication of the specified repository's proxy.
|
static AuthenticationContext |
AuthenticationContext.forProxy(RepositorySystemSession session,
RemoteRepository repository)
Gets an authentication context for the proxy of the specified repository.
|
static java.lang.String |
AuthenticationDigest.forRepository(RepositorySystemSession session,
RemoteRepository repository)
Gets the fingerprint for the authentication of the specified repository.
|
static AuthenticationContext |
AuthenticationContext.forRepository(RepositorySystemSession session,
RemoteRepository repository)
Gets an authentication context for 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.
|
java.lang.String |
LocalRepositoryManager.getPathForRemoteArtifact(Artifact artifact,
RemoteRepository repository,
java.lang.String context)
Gets the relative path for an artifact cached from a remote repository.
|
java.lang.String |
LocalRepositoryManager.getPathForRemoteMetadata(Metadata metadata,
RemoteRepository repository,
java.lang.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.
|
private static AuthenticationContext |
AuthenticationContext.newInstance(RepositorySystemSession session,
RemoteRepository repository,
Proxy proxy,
Authentication auth) |
LocalArtifactResult |
LocalArtifactResult.setRepository(RemoteRepository repository)
Sets the (first) remote repository from which the artifact was cached.
|
LocalMetadataRegistration |
LocalMetadataRegistration.setRepository(RemoteRepository repository)
Sets the remote repository from which the metadata was resolved.
|
LocalArtifactRegistration |
LocalArtifactRegistration.setRepository(RemoteRepository repository)
Sets the remote repository from which the artifact was resolved.
|
LocalMetadataRequest |
LocalMetadataRequest.setRepository(RemoteRepository repository)
Sets the remote repository to use as sources of the metadata.
|
Modifier and Type | Method and Description |
---|---|
private static java.util.List<RemoteRepository> |
RemoteRepository.copy(java.util.List<RemoteRepository> repos) |
RemoteRepository.Builder |
RemoteRepository.Builder.setMirroredRepositories(java.util.List<RemoteRepository> mirroredRepositories)
Sets the repositories being mirrored by the repository.
|
LocalArtifactRequest |
LocalArtifactRequest.setRepositories(java.util.List<RemoteRepository> repositories)
Sets the remote repositories to consider as sources of the artifact.
|
Constructor and Description |
---|
AuthenticationContext(RepositorySystemSession session,
RemoteRepository repository,
Proxy proxy,
Authentication auth) |
AuthenticationDigest(RepositorySystemSession session,
RemoteRepository repository,
Proxy proxy) |
Builder(RemoteRepository prototype)
Creates a new repository builder which uses the specified remote repository as a prototype for the new one.
|
LocalArtifactRegistration(Artifact artifact,
RemoteRepository repository,
java.util.Collection<java.lang.String> contexts)
Creates a registration request for the specified artifact.
|
LocalMetadataRegistration(Metadata metadata,
RemoteRepository repository,
java.util.Collection<java.lang.String> contexts)
Creates a registration request for the specified metadata.
|
LocalMetadataRequest(Metadata metadata,
RemoteRepository repository,
java.lang.String context)
Creates a query with the specified properties.
|
Constructor and Description |
---|
LocalArtifactRequest(Artifact artifact,
java.util.List<RemoteRepository> repositories,
java.lang.String context)
Creates a query with the specified properties.
|
Modifier and Type | Field and Description |
---|---|
private RemoteRepository |
MetadataRequest.repository |
private RemoteRepository |
ResolutionErrorPolicyRequest.repository |
Modifier and Type | Field and Description |
---|---|
private java.util.List<RemoteRepository> |
ArtifactDescriptorRequest.repositories |
private java.util.List<RemoteRepository> |
VersionRequest.repositories |
private java.util.List<RemoteRepository> |
ArtifactDescriptorResult.repositories |
private java.util.List<RemoteRepository> |
VersionRangeRequest.repositories |
private java.util.List<RemoteRepository> |
ArtifactRequest.repositories |
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 |
---|---|
java.util.List<RemoteRepository> |
ArtifactDescriptorRequest.getRepositories()
Gets the repositories to resolve the descriptor from.
|
java.util.List<RemoteRepository> |
VersionRequest.getRepositories()
Gets the repositories to resolve the version from.
|
java.util.List<RemoteRepository> |
ArtifactDescriptorResult.getRepositories()
Gets the remote repositories listed in the artifact descriptor.
|
java.util.List<RemoteRepository> |
VersionRangeRequest.getRepositories()
Gets the repositories to resolve the version range from.
|
java.util.List<RemoteRepository> |
ArtifactRequest.getRepositories()
Gets the repositories to resolve the artifact from.
|
Modifier and Type | Method and Description |
---|---|
ArtifactDescriptorRequest |
ArtifactDescriptorRequest.addRepository(RemoteRepository repository)
Adds the specified repository for the resolution of the artifact descriptor.
|
VersionRequest |
VersionRequest.addRepository(RemoteRepository repository)
Adds the specified repository for the resolution.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addRepository(RemoteRepository repository)
Adds the specified remote repository.
|
VersionRangeRequest |
VersionRangeRequest.addRepository(RemoteRepository repository)
Adds the specified repository for the resolution.
|
ArtifactRequest |
ArtifactRequest.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 |
---|---|
ArtifactDescriptorRequest |
ArtifactDescriptorRequest.setRepositories(java.util.List<RemoteRepository> repositories)
Sets the repositories to resolve the descriptor from.
|
VersionRequest |
VersionRequest.setRepositories(java.util.List<RemoteRepository> repositories)
Sets the repositories to resolve the version from.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setRepositories(java.util.List<RemoteRepository> repositories)
Sets the remote repositories listed in the artifact descriptor.
|
VersionRangeRequest |
VersionRangeRequest.setRepositories(java.util.List<RemoteRepository> repositories)
Sets the repositories to resolve the version range from.
|
ArtifactRequest |
ArtifactRequest.setRepositories(java.util.List<RemoteRepository> repositories)
Sets the repositories to resolve the artifact from.
|
Constructor and Description |
---|
MetadataRequest(Metadata metadata,
RemoteRepository repository,
java.lang.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,
java.util.List<RemoteRepository> repositories,
java.lang.String context)
Creates a request with the specified properties.
|
ArtifactRequest(Artifact artifact,
java.util.List<RemoteRepository> repositories,
java.lang.String context)
Creates a request with the specified properties.
|
VersionRangeRequest(Artifact artifact,
java.util.List<RemoteRepository> repositories,
java.lang.String context)
Creates a request with the specified properties.
|
VersionRequest(Artifact artifact,
java.util.List<RemoteRepository> repositories,
java.lang.String context)
Creates a request with the specified properties.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<RemoteRepository> |
MetadataDownload.repositories |
private java.util.List<RemoteRepository> |
ArtifactDownload.repositories |
Modifier and Type | Method and Description |
---|---|
java.util.List<RemoteRepository> |
MetadataDownload.getRepositories()
Gets the remote repositories that are being aggregated by the physically contacted remote repository (i.e.
|
java.util.List<RemoteRepository> |
ArtifactDownload.getRepositories()
Gets the remote repositories that are being aggregated by the physically contacted remote repository (i.e.
|
Modifier and Type | Method and Description |
---|---|
RepositoryConnector |
RepositoryConnectorFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository)
Tries to create a repository connector for the specified remote repository.
|
Modifier and Type | Method and Description |
---|---|
MetadataDownload |
MetadataDownload.setRepositories(java.util.List<RemoteRepository> repositories)
Sets the remote repositories that are being aggregated by the physically contacted remote repository (i.e.
|
ArtifactDownload |
ArtifactDownload.setRepositories(java.util.List<RemoteRepository> repositories)
Sets the remote repositories that are being aggregated by the physically contacted remote repository (i.e.
|
Modifier and Type | Method and Description |
---|---|
ChecksumPolicy |
ChecksumPolicyProvider.newChecksumPolicy(RepositorySystemSession session,
RemoteRepository repository,
TransferResource resource,
java.lang.String policy)
Retrieves the checksum policy with the specified identifier for use on the given remote resource.
|
Modifier and Type | Method and Description |
---|---|
RepositoryLayout |
RepositoryLayoutFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository)
Tries to create a repository layout for the specified remote repository.
|
RepositoryLayout |
RepositoryLayoutProvider.newRepositoryLayout(RepositorySystemSession session,
RemoteRepository repository)
Tries to retrieve a repository layout for the specified remote repository.
|
Modifier and Type | Method and Description |
---|---|
Transporter |
TransporterFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository)
Tries to create a transporter for the specified remote repository.
|
Transporter |
TransporterProvider.newTransporter(RepositorySystemSession session,
RemoteRepository repository)
Tries to create a transporter for the specified remote repository.
|
Modifier and Type | Field and Description |
---|---|
private RemoteRepository |
ArtifactTransferException.repository |
private RemoteRepository |
NoRepositoryConnectorException.repository |
private RemoteRepository |
RepositoryOfflineException.repository |
private RemoteRepository |
NoRepositoryLayoutException.repository |
private RemoteRepository |
NoTransporterException.repository |
private RemoteRepository |
MetadataTransferException.repository |
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
ArtifactTransferException.getRepository()
Gets the remote repository involved in the transfer.
|
RemoteRepository |
NoRepositoryConnectorException.getRepository()
Gets the remote repository whose content type is not supported.
|
RemoteRepository |
RepositoryOfflineException.getRepository()
Gets the remote repository that could not be accessed due to offline mode.
|
RemoteRepository |
NoRepositoryLayoutException.getRepository()
Gets the remote repository whose layout is not supported.
|
RemoteRepository |
NoTransporterException.getRepository()
Gets the remote repository whose transport protocol is not supported.
|
RemoteRepository |
MetadataTransferException.getRepository()
Gets the remote repository involved in the transfer.
|
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
ArtifactNotFoundException.getMessage(Artifact artifact,
RemoteRepository repository) |
private static java.lang.String |
RepositoryOfflineException.getMessage(RemoteRepository repository) |
(package private) static java.lang.String |
ArtifactTransferException.getString(java.lang.String prefix,
RemoteRepository repository) |
(package private) static java.lang.String |
MetadataTransferException.getString(java.lang.String prefix,
RemoteRepository repository) |
private static java.lang.String |
NoRepositoryConnectorException.toMessage(RemoteRepository repository) |
private static java.lang.String |
NoRepositoryLayoutException.toMessage(RemoteRepository repository) |
private static java.lang.String |
NoTransporterException.toMessage(RemoteRepository repository) |
Constructor and Description |
---|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository)
Creates a new exception with the specified artifact and repository.
|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository,
java.lang.String message)
Creates a new exception with the specified artifact, repository and detail message.
|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository,
java.lang.String message,
boolean fromCache)
Creates a new exception with the specified artifact, repository and detail message.
|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified artifact, repository, detail message and cause.
|
ArtifactTransferException(Artifact artifact,
RemoteRepository repository,
java.lang.String message)
Creates a new exception with the specified artifact, repository and detail message.
|
ArtifactTransferException(Artifact artifact,
RemoteRepository repository,
java.lang.String message,
boolean fromCache)
Creates a new exception with the specified artifact, repository and detail message.
|
ArtifactTransferException(Artifact artifact,
RemoteRepository repository,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified artifact, repository, detail message and cause.
|
ArtifactTransferException(Artifact artifact,
RemoteRepository repository,
java.lang.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,
java.lang.String message)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataNotFoundException(Metadata metadata,
RemoteRepository repository,
java.lang.String message,
boolean fromCache)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataNotFoundException(Metadata metadata,
RemoteRepository repository,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified metadata, repository, detail message and cause.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
java.lang.String message)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
java.lang.String message,
boolean fromCache)
Creates a new exception with the specified metadata, repository and detail message.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified metadata, repository, detail message and cause.
|
MetadataTransferException(Metadata metadata,
RemoteRepository repository,
java.lang.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,
java.lang.String message)
Creates a new exception with the specified repository and detail message.
|
NoRepositoryConnectorException(RemoteRepository repository,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified repository, detail message and cause.
|
NoRepositoryConnectorException(RemoteRepository repository,
java.lang.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,
java.lang.String message)
Creates a new exception with the specified repository and detail message.
|
NoRepositoryLayoutException(RemoteRepository repository,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified repository, detail message and cause.
|
NoRepositoryLayoutException(RemoteRepository repository,
java.lang.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,
java.lang.String message)
Creates a new exception with the specified repository and detail message.
|
NoTransporterException(RemoteRepository repository,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified repository, detail message and cause.
|
NoTransporterException(RemoteRepository repository,
java.lang.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,
java.lang.String message)
Creates a new exception with the specified repository and detail message.
|
Modifier and Type | Field and Description |
---|---|
private RemoteRepository |
WagonTransporter.repository |
Modifier and Type | Method and Description |
---|---|
private org.apache.maven.wagon.authentication.AuthenticationInfo |
WagonTransporter.getAuthenticationInfo(RemoteRepository repository,
AuthenticationContext authContext) |
private org.apache.maven.wagon.proxy.ProxyInfoProvider |
WagonTransporter.getProxy(RemoteRepository repository,
AuthenticationContext authContext) |
Transporter |
WagonTransporterFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Constructor and Description |
---|
WagonTransporter(WagonProvider wagonProvider,
WagonConfigurator wagonConfigurator,
RemoteRepository repository,
RepositorySystemSession session) |
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
DefaultMirrorSelector.getMirror(RemoteRepository repository) |
Modifier and Type | Method and Description |
---|---|
private DefaultMirrorSelector.MirrorDef |
DefaultMirrorSelector.findMirror(RemoteRepository repository) |
Authentication |
DefaultAuthenticationSelector.getAuthentication(RemoteRepository repository) |
Authentication |
ConservativeAuthenticationSelector.getAuthentication(RemoteRepository repository) |
RemoteRepository |
DefaultMirrorSelector.getMirror(RemoteRepository repository) |
Proxy |
ConservativeProxySelector.getProxy(RemoteRepository repository) |
Proxy |
JreProxySelector.getProxy(RemoteRepository repository) |
Proxy |
DefaultProxySelector.getProxy(RemoteRepository repository) |
(package private) static boolean |
DefaultMirrorSelector.isExternalRepo(RemoteRepository repository)
Checks the URL to see if this repository refers to an external repository.
|
(package private) static boolean |
DefaultMirrorSelector.matchPattern(RemoteRepository repository,
java.lang.String pattern)
This method checks if the pattern matches the originalRepository.
|