Uses of Interface
org.apache.maven.api.Artifact
Packages that use Artifact
Package
Description
Maven Core API
-
Uses of Artifact in org.apache.maven.api
Subinterfaces of Artifact in org.apache.maven.apiModifier and TypeInterfaceDescriptioninterface
A result of collecting, flattening and resolvingDependencyCoordinates
s.interface
AnArtifact
that has been resolved, i.e.interface
ADependency
that has been resolved, i.e.interface
Methods in org.apache.maven.api that return ArtifactModifier and TypeMethodDescriptionSession.createArtifact
(String groupId, String artifactId, String version, String extension) Shortcut forgetService(ArtifactFactory.class).create(...)
.Session.createArtifact
(String groupId, String artifactId, String version, String classifier, String extension, String type) Shortcut forgetService(ArtifactFactory.class).create(...)
.Node.getArtifact()
Plugin.getArtifact()
Methods in org.apache.maven.api with parameters of type ArtifactModifier and TypeMethodDescriptionSession.collectDependencies
(Artifact artifact, PathScope scope) Shortcut forgetService(DependencyResolver.class).collect(...)
Session.createArtifactCoordinates
(Artifact artifact) Shortcut forgetService(ArtifactFactory.class).create(...)
.Session.getArtifactPath
(Artifact artifact) Shortcut forgetService(ArtifactManager.class).getPath(...)
.Session.getPathForLocalArtifact
(Artifact artifact) Gets the relative path for a locally installed artifact.Session.getPathForRemoteArtifact
(RemoteRepository remote, Artifact artifact) Gets the relative path for an artifact cached from a remote repository.Session.resolveArtifact
(Artifact artifact) Shortcut forgetService(ArtifactResolver.class).resolve(...)
.Session.resolveArtifact
(Artifact artifact, List<RemoteRepository> repositories) Shortcut forgetService(ArtifactResolver.class).resolve(...)
.Session.resolveArtifacts
(Artifact... artifacts) Shortcut forgetService(ArtifactResolver.class).resolve(...)
. -
Uses of Artifact in org.apache.maven.api.services
Methods in org.apache.maven.api.services that return ArtifactModifier and TypeMethodDescriptionArtifactFactory.create
(ArtifactFactoryRequest request) Creates an artifact.default Artifact
ArtifactFactory.create
(Session session, String groupId, String artifactId, String version, String extension) default Artifact
ArtifactFactory.create
(Session session, String groupId, String artifactId, String version, String classifier, String extension, String type) Methods in org.apache.maven.api.services that return types with arguments of type ArtifactMethods in org.apache.maven.api.services with parameters of type ArtifactModifier and TypeMethodDescriptionstatic DependencyResolverRequest
DependencyResolverRequest.build
(Session session, DependencyResolverRequest.RequestType requestType, Artifact rootArtifact) static DependencyResolverRequest
DependencyResolverRequest.build
(Session session, DependencyResolverRequest.RequestType requestType, Artifact rootArtifact, PathScope scope) default DependencyResolverResult
Collects the transitive dependencies of some artifacts and builds a dependency graph for the given path scope.default ArtifactCoordinates
Returns the path of the file previously associated to this artifact orOptional.empty()
if no path has been associated.LocalRepositoryManager.getPathForLocalArtifact
(Session session, LocalRepository local, Artifact artifact) Gets the relative path for a locally installed artifact.LocalRepositoryManager.getPathForRemoteArtifact
(Session session, LocalRepository local, RemoteRepository remote, Artifact artifact) Gets the relative path for an artifact cached from a remote repository.DependencyResolverRequest.DependencyResolverRequestBuilder.rootArtifact
(Artifact rootArtifact) Sets the root artifact for the dependency graph. -
Uses of Artifact in org.apache.maven.internal.impl
Classes in org.apache.maven.internal.impl that implement ArtifactModifier and TypeClassDescriptionclass
A wrapper class around a maven resolver artifact.class
class
A wrapper class around a maven resolver artifact.class
A wrapper class around a maven resolver artifact.Methods in org.apache.maven.internal.impl with type parameters of type ArtifactModifier and TypeMethodDescription<T extends Artifact>
TAbstractSession.getArtifact
(Class<T> clazz, org.eclipse.aether.artifact.Artifact artifact) <T extends Artifact>
TInternalSession.getArtifact
(Class<T> clazz, org.eclipse.aether.artifact.Artifact artifact) Methods in org.apache.maven.internal.impl that return ArtifactModifier and TypeMethodDescriptionDefaultArtifactFactory.create
(ArtifactFactoryRequest request) AbstractSession.createArtifact
(String groupId, String artifactId, String version, String extension) Shortcut forgetService(ArtifactFactory.class).create(...)
AbstractSession.createArtifact
(String groupId, String artifactId, String version, String classifier, String extension, String type) Shortcut forgetService(ArtifactFactory.class).create(...)
AbstractSession.getArtifact
(org.eclipse.aether.artifact.Artifact artifact) DefaultNode.getArtifact()
InternalSession.getArtifact
(org.eclipse.aether.artifact.Artifact artifact) Methods in org.apache.maven.internal.impl with parameters of type ArtifactModifier and TypeMethodDescriptionAbstractSession.collectDependencies
(Artifact artifact, PathScope scope) Shortcut forgetService(DependencyResolver.class).collect(...)
AbstractSession.createArtifactCoordinates
(Artifact artifact) Shortcut forgetService(ArtifactCoordinatesFactory.class).create(...)
AbstractSession.getArtifactPath
(Artifact artifact) Shortcut forgetService(ArtifactManager.class).getPath(...)
AbstractSession.getPathForLocalArtifact
(Artifact artifact) DefaultLocalRepositoryManager.getPathForLocalArtifact
(Session session, LocalRepository local, Artifact artifact) AbstractSession.getPathForRemoteArtifact
(RemoteRepository remote, Artifact artifact) DefaultLocalRepositoryManager.getPathForRemoteArtifact
(Session session, LocalRepository local, RemoteRepository remote, Artifact artifact) AbstractSession.resolveArtifact
(Artifact artifact) Shortcut forgetService(ArtifactResolver.class).resolve(...)
AbstractSession.resolveArtifact
(Artifact artifact, List<RemoteRepository> repositories) Shortcut forgetService(ArtifactResolver.class).resolve(...)
AbstractSession.resolveArtifacts
(Artifact... artifacts) org.eclipse.aether.artifact.Artifact
AbstractSession.toArtifact
(Artifact artifact) org.eclipse.aether.artifact.Artifact
InternalSession.toArtifact
(Artifact artifact) Method parameters in org.apache.maven.internal.impl with type arguments of type ArtifactModifier and TypeMethodDescriptionList<org.eclipse.aether.artifact.Artifact>
AbstractSession.toArtifacts
(Collection<? extends Artifact> artifacts) List<org.eclipse.aether.artifact.Artifact>
InternalSession.toArtifacts
(Collection<? extends Artifact> artifacts)