Uses of Interface
org.apache.maven.api.Artifact
Package
Description
-
Uses of Artifact in org.apache.maven.api
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(...)
Project.getArtifact()
Session.resolveArtifact
(Artifact artifact) Shortcut forgetService(ArtifactResolver.class).resolve(...)
Session.resolveArtifact
(ArtifactCoordinate coordinate) Shortcut forgetService(ArtifactResolver.class).resolve(...)
Modifier and TypeMethodDescriptionSession.resolveArtifacts
(Collection<? extends ArtifactCoordinate> coordinates) Shortcut forgetService(ArtifactResolver.class).resolve(...)
Session.resolveArtifacts
(Artifact... artifacts) Shortcut forgetService(ArtifactResolver.class).resolve(...)
Session.resolveArtifacts
(ArtifactCoordinate... coordinates) Shortcut forgetService(ArtifactResolver.class).resolve(...)
Modifier and TypeMethodDescriptionSession.collectDependencies
(Artifact artifact) Shortcut forgetService(DependencyCollector.class).collect(...)
Session.createArtifactCoordinate
(Artifact artifact) Shortcut forgetService(ArtifactFactory.class).create(...)
void
Session.deployArtifact
(RemoteRepository repository, Artifact... artifacts) Shortcut forgetService(ArtifactDeployer.class).deploy(...)
Session.getArtifactPath
(Artifact artifact) Shortcut forgetService(ArtifactManager.class).getPath(...)
Session.getPathForLocalArtifact
(Artifact artifact) Session.getPathForRemoteArtifact
(RemoteRepository remote, Artifact artifact) void
Session.installArtifacts
(Artifact... artifacts) Shortcut forgetService(ArtifactInstaller.class).install(...)
Session.resolveArtifact
(Artifact artifact) Shortcut forgetService(ArtifactResolver.class).resolve(...)
Session.resolveArtifacts
(Artifact... artifacts) Shortcut forgetService(ArtifactResolver.class).resolve(...)
void
Session.setArtifactPath
(Artifact artifact, Path path) Shortcut forgetService(ArtifactManager.class).setPath(...)
Modifier and TypeMethodDescriptionvoid
Session.installArtifacts
(Collection<Artifact> artifacts) Shortcut forgetService(ArtifactInstaller.class).install(...)
-
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 TypeMethodDescriptionProjectBuilderRequest.getArtifact()
ArtifactDeployerRequest.getArtifacts()
ArtifactInstallerRequest.getArtifacts()
ArtifactResolverResult.getArtifacts()
ProjectManager.getAttachedArtifacts
(Project project) ProjectManager.getResolvedDependencies
(Project project, ResolutionScope scope) DependencyCollectorRequest.getRootArtifact()
Modifier and TypeMethodDescriptionvoid
ProjectManager.attachArtifact
(Project project, Artifact artifact, Path path) static DependencyCollectorRequest
default ProjectBuilderResult
Creates aProject
from an artifact.static ProjectBuilderRequest
default DependencyCollectorResult
Collects the transitive dependencies of some artifacts and builds a dependency graph.default ArtifactCoordinate
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) LocalRepositoryManager.getPathForRemoteArtifact
(Session session, LocalRepository local, RemoteRepository remote, Artifact artifact) default void
DependencyCollectorRequest.DependencyCollectorRequestBuilder.rootArtifact
(Artifact rootArtifact) Sets the root artifact for the dependency graph.void
Associates the given file path to the artifact.Modifier and TypeMethodDescriptionArtifactDeployerRequest.ArtifactDeployerRequestBuilder.artifacts
(Collection<Artifact> artifacts) ArtifactInstallerRequest.ArtifactInstallerRequestBuilder.artifacts
(Collection<Artifact> artifacts) static ArtifactDeployerRequest
ArtifactDeployerRequest.build
(Session session, RemoteRepository repository, Collection<Artifact> artifacts) static ArtifactInstallerRequest
ArtifactInstallerRequest.build
(Session session, Collection<Artifact> artifacts) default void
ArtifactDeployer.deploy
(Session session, RemoteRepository repository, Collection<Artifact> artifacts) default void
ArtifactInstaller.install
(Session session, Collection<Artifact> artifacts) -
Uses of Artifact in org.apache.maven.internal.impl
Modifier and TypeClassDescriptionclass
A wrapper class around a maven resolver artifact.class
Modifier 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) DefaultProject.getArtifact()
AbstractSession.resolveArtifact
(Artifact artifact) Shortcut forgetService(ArtifactResolver.class).resolve(...)
AbstractSession.resolveArtifact
(ArtifactCoordinate coordinate) Shortcut forgetService(ArtifactResolver.class).resolve(...)
Modifier and TypeMethodDescriptionDefaultProjectManager.getAttachedArtifacts
(Project project) DefaultProjectManager.getResolvedDependencies
(Project project, ResolutionScope scope) AbstractSession.resolveArtifacts
(Collection<? extends ArtifactCoordinate> coordinates) Shortcut forgetService(ArtifactResolver.class).resolve(...)
AbstractSession.resolveArtifacts
(Artifact... artifacts) AbstractSession.resolveArtifacts
(ArtifactCoordinate... coordinates) Shortcut forgetService(ArtifactResolver.class).resolve(...)
Modifier and TypeMethodDescriptionvoid
DefaultProjectManager.attachArtifact
(Project project, Artifact artifact, Path path) AbstractSession.collectDependencies
(Artifact artifact) Shortcut forgetService(DependencyCollector.class).collect(...)
AbstractSession.createArtifactCoordinate
(Artifact artifact) Shortcut forgetService(CoordinateFactory.class).create(...)
void
AbstractSession.deployArtifact
(RemoteRepository repository, Artifact... artifacts) Shortcut forgetService(ArtifactDeployer.class).deploy(...)
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) void
AbstractSession.installArtifacts
(Artifact... artifacts) Shortcut forgetService(ArtifactInstaller.class).install(...)
AbstractSession.resolveArtifact
(Artifact artifact) Shortcut forgetService(ArtifactResolver.class).resolve(...)
AbstractSession.resolveArtifacts
(Artifact... artifacts) void
AbstractSession.setArtifactPath
(Artifact artifact, Path path) Shortcut forgetService(ArtifactManager.class).setPath(...)
void
org.eclipse.aether.artifact.Artifact
AbstractSession.toArtifact
(Artifact artifact) Modifier and TypeMethodDescriptionvoid
AbstractSession.installArtifacts
(Collection<Artifact> artifacts) Shortcut forgetService(ArtifactInstaller.class).install(...)
List<org.eclipse.aether.artifact.Artifact>
AbstractSession.toArtifacts
(Collection<Artifact> artifacts)