Uses of Interface
org.apache.maven.api.Artifact
-
Uses of Artifact in org.apache.maven.api
Modifier 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
Modifier 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()
Modifier 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
Modifier 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) Modifier 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.