Uses of Interface
org.eclipse.aether.artifact.Artifact
Package
Description
The primary API of the
RepositorySystem
and its functionality.The definition of an artifact, that is the primary entity managed by the repository system.
The types and extension points for collecting the transitive dependencies of an artifact and building a dependency
graph.
The types supporting the publishing of artifacts to a remote repository.
The representation of a dependency graph by means of connected dependency nodes.
The provisional interfaces defining the various sub components that implement the repository system.
The types supporting the publishing of artifacts to a local repository.
The various sub components that collectively implement the repository system.
Internal helper classes for dependency collector.
Utility classes to ease unit testing.
The definition of various kinds of repositories that host artifacts.
The types supporting the resolution of artifacts and metadata from repositories.
The contract to access artifacts/metadata in remote repositories.
The contract to locate URI-based resources using custom repository layouts.
A listener and various exception types dealing with the transfer of a resource between the local system and a remote
repository.
Utilities around artifacts and artifact type registries.
Various dependency filters for selecting nodes in a dependency graph.
Ready-to-use selectors for authentication, proxies and mirrors and a few other repository related utilities.
-
Uses of Artifact in org.apache.maven.resolver.examples.resolver
-
Uses of Artifact in org.eclipse.aether
Modifier and TypeMethodDescriptionRepositoryEvent.getArtifact()
Gets the artifact involved in the event (if any).Modifier and TypeMethodDescriptionRepositoryEvent.Builder.setArtifact
(Artifact artifact) Sets the artifact involved in the event.Modifier and TypeMethodDescriptionvoid
SyncContext.acquire
(Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) Acquires synchronized access to the specified artifacts and metadatas. -
Uses of Artifact in org.eclipse.aether.artifact
Modifier and TypeClassDescriptionclass
A skeleton class for artifacts.final class
A simple artifact.Modifier and TypeMethodDescriptionSets the file of the artifact.AbstractArtifact.setProperties
(Map<String, String> properties) Artifact.setProperties
(Map<String, String> properties) Sets the properties for the artifact.AbstractArtifact.setVersion
(String version) Artifact.setVersion
(String version) Sets the version of the artifact. -
Uses of Artifact in org.eclipse.aether.collection
Modifier and TypeMethodDescriptionDependencyCollectionContext.getArtifact()
Gets the artifact whose children are to be processed next during dependency collection.CollectRequest.getRootArtifact()
Gets the root artifact for the dependency graph.Modifier and TypeMethodDescriptionCollectRequest.setRootArtifact
(Artifact rootArtifact) Sets the root artifact for the dependency graph. -
Uses of Artifact in org.eclipse.aether.deployment
Modifier and TypeMethodDescriptionDeployRequest.getArtifacts()
Gets the artifact to deploy.DeployResult.getArtifacts()
Gets the artifacts that got deployed.Modifier and TypeMethodDescriptionDeployRequest.addArtifact
(Artifact artifact) Adds the specified artifacts for deployment.DeployResult.addArtifact
(Artifact artifact) Adds the specified artifacts to the result.Modifier and TypeMethodDescriptionDeployRequest.setArtifacts
(Collection<Artifact> artifacts) Sets the artifacts to deploy.DeployResult.setArtifacts
(Collection<Artifact> artifacts) Sets the artifacts that got deployed. -
Uses of Artifact in org.eclipse.aether.graph
Modifier and TypeMethodDescriptionDefaultDependencyNode.getArtifact()
Dependency.getArtifact()
Gets the artifact being depended on.DependencyNode.getArtifact()
Gets the artifact associated with this node.Modifier and TypeMethodDescriptionCollection<? extends Artifact>
DefaultDependencyNode.getAliases()
Collection<? extends Artifact>
DependencyNode.getAliases()
Gets the known aliases for this dependency's artifact.DefaultDependencyNode.getRelocations()
DependencyNode.getRelocations()
Gets the sequence of relocations that was followed to resolve the artifact referenced by the dependency.Modifier and TypeMethodDescriptionvoid
DefaultDependencyNode.setArtifact
(Artifact artifact) Dependency.setArtifact
(Artifact artifact) Sets the artifact being depended on.void
DependencyNode.setArtifact
(Artifact artifact) Updates the artifact of the dependency after resolution.Modifier and TypeMethodDescriptionvoid
DefaultDependencyNode.setAliases
(Collection<? extends Artifact> aliases) Sets the known aliases for this dependency's artifact.void
DefaultDependencyNode.setRelocations
(List<? extends Artifact> relocations) Sets the sequence of relocations that was followed to resolve this dependency's artifact.ModifierConstructorDescriptionDefaultDependencyNode
(Artifact artifact) Creates a new root node with the specified artifact as its label.Dependency
(Artifact artifact, String scope) Creates a mandatory dependency on the specified artifact with the given scope.Dependency
(Artifact artifact, String scope, Boolean optional) Creates a dependency on the specified artifact with the given scope.Dependency
(Artifact artifact, String scope, Boolean optional, Collection<Exclusion> exclusions) Creates a dependency on the specified artifact with the given scope and exclusions. -
Uses of Artifact in org.eclipse.aether.impl
Modifier and TypeMethodDescriptionMetadataGenerator.transformArtifact
(Artifact artifact) Enables the metadata generator to transform the specified artifact.Modifier and TypeMethodDescriptionMetadataGenerator.transformArtifact
(Artifact artifact) Enables the metadata generator to transform the specified artifact.Modifier and TypeMethodDescriptionvoid
UpdateCheckManager.checkArtifact
(RepositorySystemSession session, UpdateCheck<Artifact, ArtifactTransferException> check) Checks whether an artifact has to be updated from a remote repository.Collection<? extends Metadata>
MetadataGenerator.finish
(Collection<? extends Artifact> artifacts) Allows for metadata generation based on the transformed artifacts.Collection<? extends Metadata>
MetadataGenerator.prepare
(Collection<? extends Artifact> artifacts) Prepares the generator to transform artifacts.void
UpdateCheckManager.touchArtifact
(RepositorySystemSession session, UpdateCheck<Artifact, ArtifactTransferException> check) Updates the timestamp for the artifact contained in the update check. -
Uses of Artifact in org.eclipse.aether.installation
Modifier and TypeMethodDescriptionInstallRequest.getArtifacts()
Gets the artifact to install.InstallResult.getArtifacts()
Gets the artifacts that got installed.Modifier and TypeMethodDescriptionInstallRequest.addArtifact
(Artifact artifact) Adds the specified artifacts for installation.InstallResult.addArtifact
(Artifact artifact) Adds the specified artifacts to the result.Modifier and TypeMethodDescriptionInstallRequest.setArtifacts
(Collection<Artifact> artifacts) Sets the artifacts to install.InstallResult.setArtifacts
(Collection<Artifact> artifacts) Sets the artifacts that got installed. -
Uses of Artifact in org.eclipse.aether.internal.impl
Modifier and TypeMethodDescriptionDefaultLocalPathComposer.getPathForArtifact
(Artifact artifact, boolean local) LocalPathComposer.getPathForArtifact
(Artifact artifact, boolean local) Gets the relative path for a locally installed (local=true) or remotely cached (local=false) artifact.LocalPathPrefixComposer.getPathPrefixForLocalArtifact
(Artifact artifact) Gets the path prefix for a locally installed artifact.LocalPathPrefixComposerFactorySupport.LocalPathPrefixComposerSupport.getPathPrefixForLocalArtifact
(Artifact artifact) LocalPathPrefixComposer.getPathPrefixForRemoteArtifact
(Artifact artifact, RemoteRepository repository) Gets the path prefix for an artifact cached from a remote repository.LocalPathPrefixComposerFactorySupport.LocalPathPrefixComposerSupport.getPathPrefixForRemoteArtifact
(Artifact artifact, RemoteRepository repository) Modifier and TypeMethodDescriptionvoid
DefaultUpdateCheckManager.checkArtifact
(RepositorySystemSession session, UpdateCheck<Artifact, ArtifactTransferException> check) void
DefaultUpdateCheckManager.touchArtifact
(RepositorySystemSession session, UpdateCheck<Artifact, ArtifactTransferException> check) -
Uses of Artifact in org.eclipse.aether.internal.impl.checksum
Modifier and TypeMethodDescriptionSparseDirectoryTrustedChecksumsSource.doGetTrustedArtifactChecksums
(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) SummaryFileTrustedChecksumsSource.doGetTrustedArtifactChecksums
(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) -
Uses of Artifact in org.eclipse.aether.internal.impl.collect
Modifier and TypeMethodDescriptionstatic int
DefaultDependencyCycle.find
(List<DependencyNode> nodes, Artifact artifact) Searches for a node associated with the given artifact.protected static String
protected static boolean
DependencyCollectorDelegate.isLackingDescriptor
(Artifact artifact) DataPool.toKey
(Artifact artifact, List<RemoteRepository> repositories, DependencySelector selector, DependencyManager manager, DependencyTraverser traverser, VersionFilter filter) Modifier and TypeMethodDescriptionprotected static DefaultDependencyNode
DependencyCollectorDelegate.createDependencyNode
(List<Artifact> relocations, PremanagedDependency preManaged, VersionRangeResult rangeResult, Version version, Dependency d, Collection<Artifact> aliases, List<RemoteRepository> repos, String requestContext) protected static DefaultDependencyNode
DependencyCollectorDelegate.createDependencyNode
(List<Artifact> relocations, PremanagedDependency preManaged, VersionRangeResult rangeResult, Version version, Dependency d, Collection<Artifact> aliases, List<RemoteRepository> repos, String requestContext) protected static DefaultDependencyNode
DependencyCollectorDelegate.createDependencyNode
(List<Artifact> relocations, PremanagedDependency preManaged, VersionRangeResult rangeResult, Version version, Dependency d, ArtifactDescriptorResult descriptorResult, DependencyNode cycleNode) ModifierConstructorDescriptionDefaultDependencyCollectionContext
(RepositorySystemSession session, Artifact artifact, Dependency dependency, List<Dependency> managedDependencies) -
Uses of Artifact in org.eclipse.aether.internal.impl.synccontext.named
Modifier and TypeMethodDescriptionBasedirNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) DiscriminatingNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) GAVNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) HashingNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) NameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) Creates (opaque) names for passed in artifacts and metadata.StaticNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) -
Uses of Artifact in org.eclipse.aether.internal.test.util
Modifier and TypeMethodDescriptionTestLocalRepositoryManager.getPathForLocalArtifact
(Artifact artifact) TestLocalRepositoryManager.getPathForRemoteArtifact
(Artifact artifact, RemoteRepository repository, String context) static DependencyCollectionContext
TestUtils.newCollectionContext
(RepositorySystemSession session, Artifact artifact, Dependency dependency, List<Dependency> managedDependencies) Creates a new dependency collection context.void
TestLocalRepositoryManager.setArtifactAvailability
(Artifact artifact, boolean available) -
Uses of Artifact in org.eclipse.aether.repository
Modifier and TypeMethodDescriptionLocalArtifactRegistration.getArtifact()
Gets the artifact to register.LocalArtifactRequest.getArtifact()
Gets the artifact to query for.Modifier and TypeMethodDescriptionWorkspaceReader.findArtifact
(Artifact artifact) Locates the specified artifact.WorkspaceReader.findVersions
(Artifact artifact) Determines all available versions of the specified artifact.LocalRepositoryManager.getPathForLocalArtifact
(Artifact artifact) Gets the relative path for a locally installed artifact.LocalRepositoryManager.getPathForRemoteArtifact
(Artifact artifact, RemoteRepository repository, String context) Gets the relative path for an artifact cached from a remote repository.LocalArtifactRegistration.setArtifact
(Artifact artifact) Sets the artifact to register.LocalArtifactRequest.setArtifact
(Artifact artifact) Sets the artifact to query for.ModifierConstructorDescriptionLocalArtifactRegistration
(Artifact artifact) Creates a registration request for the specified (locally installed) artifact.LocalArtifactRegistration
(Artifact artifact, RemoteRepository repository, Collection<String> contexts) Creates a registration request for the specified artifact.LocalArtifactRequest
(Artifact artifact, List<RemoteRepository> repositories, String context) Creates a query with the specified properties. -
Uses of Artifact in org.eclipse.aether.resolution
Modifier and TypeMethodDescriptionArtifactDescriptorPolicyRequest.getArtifact()
Gets the artifact for whose descriptor to determine the error policy.ArtifactDescriptorRequest.getArtifact()
Gets the artifact whose descriptor shall be read.ArtifactDescriptorResult.getArtifact()
Gets the artifact whose descriptor was read.ArtifactRequest.getArtifact()
Gets the artifact to resolve.ArtifactResult.getArtifact()
Gets the resolved artifact (if any).VersionRangeRequest.getArtifact()
Gets the artifact whose version range shall be resolved.VersionRequest.getArtifact()
Gets the artifact whose (meta-)version shall be resolved.Modifier and TypeMethodDescriptionArtifactDescriptorResult.getAliases()
Gets the known aliases for this artifact.ArtifactDescriptorResult.getRelocations()
Gets the relocations that were processed to read the artifact descriptor.Modifier and TypeMethodDescriptionRecords the specified alias.ArtifactDescriptorResult.addRelocation
(Artifact artifact) Records the specified relocation hop while locating the artifact descriptor.ArtifactDescriptorPolicyRequest.setArtifact
(Artifact artifact) Sets the artifact for whose descriptor to determine the error policy.ArtifactDescriptorRequest.setArtifact
(Artifact artifact) Sets the artifact whose descriptor shall be read.ArtifactDescriptorResult.setArtifact
(Artifact artifact) Sets the artifact whose descriptor was read.ArtifactRequest.setArtifact
(Artifact artifact) Sets the artifact to resolve.ArtifactResult.setArtifact
(Artifact artifact) Sets the resolved artifact.VersionRangeRequest.setArtifact
(Artifact artifact) Sets the artifact whose version range shall be resolved.VersionRequest.setArtifact
(Artifact artifact) Sets the artifact whose (meta-)version shall be resolved.Modifier and TypeMethodDescriptionint
ResolutionErrorPolicy.getArtifactPolicy
(RepositorySystemSession session, ResolutionErrorPolicyRequest<Artifact> request) Gets the error policy for an artifact.ArtifactDescriptorResult.setAliases
(Collection<Artifact> aliases) Sets the aliases of the artifact.ArtifactDescriptorResult.setRelocations
(List<Artifact> relocations) Sets the relocations that were processed to read the artifact descriptor.ModifierConstructorDescriptionArtifactDescriptorPolicyRequest
(Artifact artifact, String context) Creates a request for the specified artifact.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. -
Uses of Artifact in org.eclipse.aether.spi.checksums
Modifier and TypeMethodDescriptionvoid
TrustedChecksumsSource.Writer.addTrustedArtifactChecksums
(Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories, Map<String, String> trustedArtifactChecksums) Performs whatever implementation requires to "set" (write/add/append) given map of trusted checksums.TrustedChecksumsSource.getTrustedArtifactChecksums
(RepositorySystemSession session, Artifact artifact, ArtifactRepository artifactRepository, List<ChecksumAlgorithmFactory> checksumAlgorithmFactories) May return the trusted checksums (for given artifact) from trusted source, ornull
if not enabled. -
Uses of Artifact in org.eclipse.aether.spi.connector
Modifier and TypeMethodDescriptionArtifactTransfer.getArtifact()
Gets the artifact being transferred.Modifier and TypeMethodDescriptionArtifactDownload.setArtifact
(Artifact artifact) ArtifactTransfer.setArtifact
(Artifact artifact) Sets the artifact to transfer.ArtifactUpload.setArtifact
(Artifact artifact) ModifierConstructorDescriptionArtifactDownload
(Artifact artifact, String context, File file, String checksumPolicy) Creates a new download with the specified properties.ArtifactUpload
(Artifact artifact, File file) Creates a new upload with the specified properties.ArtifactUpload
(Artifact artifact, File file, FileTransformer fileTransformer) Creates a new upload with the specified properties. -
Uses of Artifact in org.eclipse.aether.spi.connector.filter
Modifier and TypeMethodDescriptionRemoteRepositoryFilter.acceptArtifact
(RemoteRepository remoteRepository, Artifact artifact) Decides should artifact be accepted from given remote repository. -
Uses of Artifact in org.eclipse.aether.spi.connector.layout
Modifier and TypeMethodDescriptionRepositoryLayout.getChecksumLocations
(Artifact artifact, boolean upload, URI location) Gets the checksums files that a remote repository keeps to help detect data corruption during transfers of the specified artifact.RepositoryLayout.getLocation
(Artifact artifact, boolean upload) Gets the location within a remote repository where the specified artifact resides.boolean
RepositoryLayout.hasChecksums
(Artifact artifact) Tells whether given artifact have remote external checksums according to current layout or not. -
Uses of Artifact in org.eclipse.aether.transfer
Modifier and TypeMethodDescriptionArtifactTransferException.getArtifact()
Gets the artifact that could not be transferred.ModifierConstructorDescriptionArtifactFilteredOutException
(Artifact artifact, RemoteRepository repository, String message) Creates a new exception with the specified artifact, repository and detail message.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. -
Uses of Artifact in org.eclipse.aether.transform
Modifier and TypeMethodDescriptionFileTransformer.transformArtifact
(Artifact artifact) Deprecated.Transform the target locationModifier and TypeMethodDescriptionFileTransformerManager.getTransformersForArtifact
(Artifact artifact) Deprecated.All transformers for this specific artifact.FileTransformer.transformArtifact
(Artifact artifact) Deprecated.Transform the target location -
Uses of Artifact in org.eclipse.aether.util.artifact
Modifier and TypeClassDescriptionclass
An artifact that delegates to another artifact instance.final class
An artifact whose identity is derived from another artifact.Modifier and TypeMethodDescriptionDelegatingArtifact.setProperties
(Map<String, String> properties) SubArtifact.setProperties
(Map<String, String> properties) DelegatingArtifact.setVersion
(String version) Modifier and TypeMethodDescriptionstatic boolean
ArtifactIdUtils.equalsBaseId
(Artifact artifact1, Artifact artifact2) Determines whether two artifacts have the same base identifier.static boolean
Determines whether two artifacts have the same identifier.static boolean
ArtifactIdUtils.equalsVersionlessId
(Artifact artifact1, Artifact artifact2) Determines whether two artifacts have the same versionless identifier.protected abstract DelegatingArtifact
DelegatingArtifact.newInstance
(Artifact delegate) Creates a new artifact instance that delegates to the specified artifact.static String
Creates an artifact identifier of the form<groupId>:<artifactId>:<extension>[:<classifier>]:<baseVersion>
.static String
Creates an artifact identifier of the form<groupId>:<artifactId>:<extension>[:<classifier>]:<version>
.static String
ArtifactIdUtils.toVersionlessId
(Artifact artifact) Creates an artifact identifier of the form<groupId>:<artifactId>:<extension>[:<classifier>]
.ModifierConstructorDescriptionprotected
DelegatingArtifact
(Artifact delegate) Creates a new artifact instance that delegates to the specified artifact.SubArtifact
(Artifact mainArtifact, String classifier, String extension) Creates a new sub artifact.SubArtifact
(Artifact mainArtifact, String classifier, String extension, File file) Creates a new sub artifact.SubArtifact
(Artifact mainArtifact, String classifier, String extension, Map<String, String> properties) Creates a new sub artifact.SubArtifact
(Artifact mainArtifact, String classifier, String extension, Map<String, String> properties, File file) Creates a new sub artifact. -
Uses of Artifact in org.eclipse.aether.util.filter
-
Uses of Artifact in org.eclipse.aether.util.repository
Modifier and TypeMethodDescriptionChainedWorkspaceReader.findArtifact
(Artifact artifact) ChainedWorkspaceReader.findVersions
(Artifact artifact) ChainedLocalRepositoryManager.getPathForLocalArtifact
(Artifact artifact) ChainedLocalRepositoryManager.getPathForRemoteArtifact
(Artifact artifact, RemoteRepository repository, String context) Modifier and TypeMethodDescriptionint
SimpleResolutionErrorPolicy.getArtifactPolicy
(RepositorySystemSession session, ResolutionErrorPolicyRequest<Artifact> request)