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.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.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.spi.localrepo |
The contract for custom local repository implementations.
|
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.classpath |
Support for downloads that utilize the classpath as "remote" storage.
|
org.eclipse.aether.transport.file |
Support for downloads/uploads using the local filesystem as "remote" storage.
|
org.eclipse.aether.transport.http |
Support for downloads/uploads via the HTTP and HTTPS protocols.
|
org.eclipse.aether.transport.wagon |
Support for downloads/uploads using Apache Maven Wagon.
|
org.eclipse.aether.util |
Miscellaneous utility classes.
|
org.eclipse.aether.util.repository |
Ready-to-use selectors for authentication, proxies and mirrors and a few other repository related utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractForwardingRepositorySystemSession
A special repository system session to enable decorating or proxying another session.
|
class |
DefaultRepositorySystemSession
A simple repository system session.
|
Modifier and Type | Method and Description |
---|---|
protected abstract RepositorySystemSession |
AbstractForwardingRepositorySystemSession.getSession()
Gets the repository system session to which this instance forwards calls.
|
RepositorySystemSession |
RepositoryEvent.getSession()
Gets the repository system session during which the event occurred.
|
Modifier and Type | Method and Description |
---|---|
CollectResult |
RepositorySystem.collectDependencies(RepositorySystemSession session,
CollectRequest request)
Collects the transitive dependencies of an artifact and builds a dependency graph.
|
DeployResult |
RepositorySystem.deploy(RepositorySystemSession session,
DeployRequest request)
Uploads a collection of artifacts and their accompanying metadata to a remote repository.
|
Object |
DefaultRepositoryCache.get(RepositorySystemSession session,
Object key) |
Object |
RepositoryCache.get(RepositorySystemSession session,
Object key)
Gets the specified data from the cache.
|
InstallResult |
RepositorySystem.install(RepositorySystemSession session,
InstallRequest request)
Installs a collection of artifacts and their accompanying metadata to the local 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.
|
LocalRepositoryManager |
RepositorySystem.newLocalRepositoryManager(RepositorySystemSession session,
LocalRepository localRepository)
Creates a new manager for the specified local repository.
|
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.
|
SyncContext |
RepositorySystem.newSyncContext(RepositorySystemSession session,
boolean shared)
Creates a new synchronization context.
|
void |
DefaultRepositoryCache.put(RepositorySystemSession session,
Object key,
Object data) |
void |
RepositoryCache.put(RepositorySystemSession session,
Object key,
Object data)
Puts the specified data into the cache.
|
ArtifactDescriptorResult |
RepositorySystem.readArtifactDescriptor(RepositorySystemSession session,
ArtifactDescriptorRequest request)
Gets information about an artifact like its direct dependencies and potential relocations.
|
ArtifactResult |
RepositorySystem.resolveArtifact(RepositorySystemSession session,
ArtifactRequest request)
Resolves the path for an artifact.
|
List<ArtifactResult> |
RepositorySystem.resolveArtifacts(RepositorySystemSession session,
Collection<? extends ArtifactRequest> requests)
Resolves the paths for a collection of artifacts.
|
DependencyResult |
RepositorySystem.resolveDependencies(RepositorySystemSession session,
DependencyRequest request)
Collects and resolves the transitive dependencies of an artifact.
|
List<MetadataResult> |
RepositorySystem.resolveMetadata(RepositorySystemSession session,
Collection<? extends MetadataRequest> requests)
Resolves the paths for a collection of metadata.
|
VersionResult |
RepositorySystem.resolveVersion(RepositorySystemSession session,
VersionRequest request)
Resolves an artifact's meta version (if any) to a concrete version.
|
VersionRangeResult |
RepositorySystem.resolveVersionRange(RepositorySystemSession session,
VersionRangeRequest request)
Expands a version range to a list of matching versions, in ascending order.
|
Constructor and Description |
---|
DefaultRepositorySystemSession(RepositorySystemSession session)
Creates a shallow copy of the specified session.
|
RepositoryEvent.Builder(RepositorySystemSession session,
RepositoryEvent.EventType type)
Creates a new event builder for the specified session and event type.
|
Modifier and Type | Method and Description |
---|---|
RepositorySystemSession |
DependencyCollectionContext.getSession()
Gets the repository system session during which the dependency collection happens.
|
RepositorySystemSession |
VersionFilter.VersionFilterContext.getSession()
Gets the repository system session during which the version filtering happens.
|
RepositorySystemSession |
DependencyGraphTransformationContext.getSession()
Gets the repository system session during which the graph transformation happens.
|
Modifier and Type | Method and Description |
---|---|
RepositoryConnector |
BasicRepositoryConnectorFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
RemoteRepositoryManager.aggregateRepositories(RepositorySystemSession session,
List<RemoteRepository> dominantRepositories,
List<RemoteRepository> recessiveRepositories,
boolean recessiveIsRaw)
Aggregates repository definitions by merging duplicate repositories and optionally applies mirror, proxy and
authentication settings from the supplied session.
|
void |
UpdateCheckManager.checkArtifact(RepositorySystemSession session,
UpdateCheck<Artifact,ArtifactTransferException> check)
Checks whether an artifact has to be updated from a remote repository.
|
void |
UpdateCheckManager.checkMetadata(RepositorySystemSession session,
UpdateCheck<Metadata,MetadataTransferException> check)
Checks whether metadata has to be updated from a remote repository.
|
void |
OfflineController.checkOffline(RepositorySystemSession session,
RemoteRepository repository)
Determines whether the specified repository is accessible if the system was in offline mode.
|
CollectResult |
DependencyCollector.collectDependencies(RepositorySystemSession session,
CollectRequest request)
Collects the transitive dependencies of some artifacts and builds a dependency graph.
|
DeployResult |
Deployer.deploy(RepositorySystemSession session,
DeployRequest request)
Uploads a collection of artifacts and their accompanying metadata to a remote repository.
|
String |
UpdatePolicyAnalyzer.getEffectiveUpdatePolicy(RepositorySystemSession session,
String policy1,
String policy2)
Returns the policy with the shorter update interval.
|
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.
|
InstallResult |
Installer.install(RepositorySystemSession session,
InstallRequest request)
Installs a collection of artifacts and their accompanying metadata to the local repository.
|
boolean |
UpdatePolicyAnalyzer.isUpdatedRequired(RepositorySystemSession session,
long lastModified,
String policy)
Determines whether the specified modification timestamp satisfies the freshness constraint expressed by the given
update policy.
|
SyncContext |
SyncContextFactory.newInstance(RepositorySystemSession session,
boolean shared)
Creates a new synchronization context.
|
MetadataGenerator |
MetadataGeneratorFactory.newInstance(RepositorySystemSession session,
DeployRequest request)
Creates a new metadata generator for the specified deploy request.
|
MetadataGenerator |
MetadataGeneratorFactory.newInstance(RepositorySystemSession session,
InstallRequest request)
Creates a new metadata generator for the specified install request.
|
LocalRepositoryManager |
LocalRepositoryProvider.newLocalRepositoryManager(RepositorySystemSession session,
LocalRepository localRepository)
Creates a new manager for the specified local repository.
|
RepositoryConnector |
RepositoryConnectorProvider.newRepositoryConnector(RepositorySystemSession session,
RemoteRepository repository)
Tries to create a repository connector for the specified remote repository.
|
ArtifactDescriptorResult |
ArtifactDescriptorReader.readArtifactDescriptor(RepositorySystemSession session,
ArtifactDescriptorRequest request)
Gets information about an artifact like its direct dependencies and potential relocations.
|
ArtifactResult |
ArtifactResolver.resolveArtifact(RepositorySystemSession session,
ArtifactRequest request)
Resolves the path for an artifact.
|
List<ArtifactResult> |
ArtifactResolver.resolveArtifacts(RepositorySystemSession session,
Collection<? extends ArtifactRequest> requests)
Resolves the paths for a collection of artifacts.
|
List<MetadataResult> |
MetadataResolver.resolveMetadata(RepositorySystemSession session,
Collection<? extends MetadataRequest> requests)
Resolves the paths for a collection of metadata.
|
VersionResult |
VersionResolver.resolveVersion(RepositorySystemSession session,
VersionRequest request)
Resolves an artifact's meta version (if any) to a concrete version.
|
VersionRangeResult |
VersionRangeResolver.resolveVersionRange(RepositorySystemSession session,
VersionRangeRequest request)
Expands a version range to a list of matching versions, in ascending order.
|
void |
UpdateCheckManager.touchArtifact(RepositorySystemSession session,
UpdateCheck<Artifact,ArtifactTransferException> check)
Updates the timestamp for the artifact contained in the update check.
|
void |
UpdateCheckManager.touchMetadata(RepositorySystemSession session,
UpdateCheck<Metadata,MetadataTransferException> check)
Updates the timestamp for the metadata contained in the update check.
|
Modifier and Type | Method and Description |
---|---|
void |
TestLocalRepositoryManager.add(RepositorySystemSession session,
LocalArtifactRegistration request) |
void |
TestLocalRepositoryManager.add(RepositorySystemSession session,
LocalMetadataRegistration request) |
LocalArtifactResult |
TestLocalRepositoryManager.find(RepositorySystemSession session,
LocalArtifactRequest request) |
LocalMetadataResult |
TestLocalRepositoryManager.find(RepositorySystemSession session,
LocalMetadataRequest request) |
static DependencyCollectionContext |
TestUtils.newCollectionContext(RepositorySystemSession session,
Artifact artifact,
Dependency dependency,
List<Dependency> managedDependencies)
Creates a new dependency collection context.
|
static DependencyCollectionContext |
TestUtils.newCollectionContext(RepositorySystemSession session,
Dependency dependency,
List<Dependency> managedDependencies)
Creates a new dependency collection context.
|
static DependencyGraphTransformationContext |
TestUtils.newTransformationContext(RepositorySystemSession session)
Creates a new dependency graph transformation context.
|
static VersionFilter.VersionFilterContext |
TestUtils.newVersionFilterContext(RepositorySystemSession session,
VersionRangeResult rangeResult)
Creates a new version filter context from the specified session and version range result.
|
ArtifactDescriptorResult |
IniArtifactDescriptorReader.readArtifactDescriptor(RepositorySystemSession session,
ArtifactDescriptorRequest request)
Parses the resource
$prefix/gid_aid_ver.ini from the request artifact as an artifact description and
wraps it into an ArtifactDescriptorResult. |
Modifier and Type | Method and Description |
---|---|
RepositorySystemSession |
AuthenticationContext.getSession()
Gets the repository system session during which the authentication happens.
|
RepositorySystemSession |
AuthenticationDigest.getSession()
Gets the repository system session during which the authentication fingerprint is calculated.
|
Modifier and Type | Method and Description |
---|---|
void |
LocalRepositoryManager.add(RepositorySystemSession session,
LocalArtifactRegistration request)
Registers an installed or resolved artifact with the local repository.
|
void |
LocalRepositoryManager.add(RepositorySystemSession session,
LocalMetadataRegistration request)
Registers installed or resolved metadata with the local repository.
|
LocalArtifactResult |
LocalRepositoryManager.find(RepositorySystemSession session,
LocalArtifactRequest request)
Queries for the existence of an artifact in the local repository.
|
LocalMetadataResult |
LocalRepositoryManager.find(RepositorySystemSession session,
LocalMetadataRequest request)
Queries for the existence of metadata in the local 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.
|
Modifier and Type | Method and Description |
---|---|
int |
ResolutionErrorPolicy.getArtifactPolicy(RepositorySystemSession session,
ResolutionErrorPolicyRequest<Artifact> request)
Gets the error policy for an artifact.
|
int |
ResolutionErrorPolicy.getMetadataPolicy(RepositorySystemSession session,
ResolutionErrorPolicyRequest<Metadata> request)
Gets the error policy for some metadata.
|
int |
ArtifactDescriptorPolicy.getPolicy(RepositorySystemSession session,
ArtifactDescriptorPolicyRequest request)
Gets the error policy for an artifact's descriptor.
|
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 |
---|---|
String |
ChecksumPolicyProvider.getEffectiveChecksumPolicy(RepositorySystemSession session,
String policy1,
String policy2)
Returns the least strict policy.
|
ChecksumPolicy |
ChecksumPolicyProvider.newChecksumPolicy(RepositorySystemSession session,
RemoteRepository repository,
TransferResource resource,
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 | Method and Description |
---|---|
LocalRepositoryManager |
LocalRepositoryManagerFactory.newInstance(RepositorySystemSession session,
LocalRepository repository)
Tries to create a repository manager for the specified local repository.
|
Modifier and Type | Method and Description |
---|---|
RepositorySystemSession |
TransferEvent.getSession()
Gets the repository system session during which the event occurred.
|
Constructor and Description |
---|
TransferEvent.Builder(RepositorySystemSession session,
TransferResource resource)
Creates a new transfer event builder for the specified session and the given resource.
|
Modifier and Type | Method and Description |
---|---|
Transporter |
ClasspathTransporterFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Modifier and Type | Method and Description |
---|---|
Transporter |
FileTransporterFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Modifier and Type | Method and Description |
---|---|
Transporter |
HttpTransporterFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Modifier and Type | Method and Description |
---|---|
Transporter |
WagonTransporterFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ConfigUtils.getBoolean(RepositorySystemSession session,
boolean defaultValue,
String... keys)
Gets the specified configuration property.
|
static float |
ConfigUtils.getFloat(RepositorySystemSession session,
float defaultValue,
String... keys)
Gets the specified configuration property.
|
static int |
ConfigUtils.getInteger(RepositorySystemSession session,
int defaultValue,
String... keys)
Gets the specified configuration property.
|
static List<?> |
ConfigUtils.getList(RepositorySystemSession session,
List<?> defaultValue,
String... keys)
Gets the specified configuration property.
|
static long |
ConfigUtils.getLong(RepositorySystemSession session,
long defaultValue,
String... keys)
Gets the specified configuration property.
|
static Map<?,?> |
ConfigUtils.getMap(RepositorySystemSession session,
Map<?,?> defaultValue,
String... keys)
Gets the specified configuration property.
|
static Object |
ConfigUtils.getObject(RepositorySystemSession session,
Object defaultValue,
String... keys)
Gets the specified configuration property.
|
static String |
ConfigUtils.getString(RepositorySystemSession session,
String defaultValue,
String... keys)
Gets the specified configuration property.
|
Modifier and Type | Method and Description |
---|---|
int |
SimpleResolutionErrorPolicy.getArtifactPolicy(RepositorySystemSession session,
ResolutionErrorPolicyRequest<Artifact> request) |
int |
SimpleResolutionErrorPolicy.getMetadataPolicy(RepositorySystemSession session,
ResolutionErrorPolicyRequest<Metadata> request) |
int |
SimpleArtifactDescriptorPolicy.getPolicy(RepositorySystemSession session,
ArtifactDescriptorPolicyRequest request) |
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.