Uses of Interface
org.apache.maven.api.ProducedArtifact
Package
Description
Maven Core API
-
Uses of ProducedArtifact in org.apache.maven.api
Modifier and TypeMethodDescriptionSession.createProducedArtifact
(String groupId, String artifactId, String version, String extension) Shortcut forgetService(ArtifactFactory.class).createProduced(...)
.Session.createProducedArtifact
(String groupId, String artifactId, String version, String classifier, String extension, String type) Shortcut forgetService(ArtifactFactory.class).createProduced(...)
.default ProducedArtifact
Project.getPomArtifact()
Returns the project POM artifact, which is the artifact of the POM of this project.Modifier and TypeMethodDescriptionProject.getArtifacts()
Returns the project artifacts as immutable list.default Optional<ProducedArtifact>
Project.getMainArtifact()
Returns the project main artifact, which is the artifact produced by this project build, if applicable.Modifier and TypeMethodDescriptionvoid
Session.deployArtifact
(RemoteRepository repository, ProducedArtifact... artifacts) Shortcut forgetService(ArtifactDeployer.class).deploy(...)
.void
Session.installArtifacts
(ProducedArtifact... artifacts) Shortcut forgetService(ArtifactInstaller.class).install(...)
.void
Session.setArtifactPath
(ProducedArtifact artifact, Path path) Shortcut forgetService(ArtifactManager.class).setPath(...)
.Modifier and TypeMethodDescriptionvoid
Session.installArtifacts
(Collection<ProducedArtifact> artifacts) Shortcut forgetService(ArtifactInstaller.class).install(...)
. -
Uses of ProducedArtifact in org.apache.maven.api.services
Modifier and TypeMethodDescriptionArtifactFactory.createProduced
(ArtifactFactoryRequest request) Creates an artifact.default ProducedArtifact
ArtifactFactory.createProduced
(Session session, String groupId, String artifactId, String version, String extension) default ProducedArtifact
ArtifactFactory.createProduced
(Session session, String groupId, String artifactId, String version, String classifier, String extension, String type) Modifier and TypeMethodDescriptionProjectManager.getAllArtifacts
(Project project) Returns project's all artifacts as immutable collection.ArtifactDeployerRequest.getArtifacts()
ArtifactInstallerRequest.getArtifacts()
ProjectManager.getAttachedArtifacts
(Project project) Returns an immutable collection of attached artifacts for given project.Modifier and TypeMethodDescriptionvoid
ProjectManager.attachArtifact
(Project project, ProducedArtifact artifact, Path path) Attaches a produced artifact to the project at the specified path.default void
ArtifactInstaller.install
(Session session, ProducedArtifact artifact) void
ArtifactManager.setPath
(ProducedArtifact artifact, Path path) Associates the given file path to the artifact.Modifier and TypeMethodDescriptionArtifactDeployerRequest.ArtifactDeployerRequestBuilder.artifacts
(Collection<ProducedArtifact> artifacts) ArtifactInstallerRequest.ArtifactInstallerRequestBuilder.artifacts
(Collection<ProducedArtifact> artifacts) static ArtifactDeployerRequest
ArtifactDeployerRequest.build
(Session session, RemoteRepository repository, Collection<ProducedArtifact> artifacts) static ArtifactInstallerRequest
ArtifactInstallerRequest.build
(Session session, Collection<ProducedArtifact> artifacts) default void
ArtifactDeployer.deploy
(Session session, RemoteRepository repository, Collection<ProducedArtifact> artifacts) default void
ArtifactInstaller.install
(Session session, Collection<ProducedArtifact> artifacts) -
Uses of ProducedArtifact in org.apache.maven.internal.impl
Modifier and TypeClassDescriptionclass
A wrapper class around a maven resolver artifact.Modifier and TypeMethodDescriptionDefaultArtifactFactory.createProduced
(ArtifactFactoryRequest request) AbstractSession.createProducedArtifact
(String groupId, String artifactId, String version, String extension) Shortcut forgetService(ArtifactFactory.class).createProduced(...)
AbstractSession.createProducedArtifact
(String groupId, String artifactId, String version, String classifier, String extension, String type) Shortcut forgetService(ArtifactFactory.class).createProduced(...)
Modifier and TypeMethodDescriptionDefaultProjectManager.getAllArtifacts
(Project project) DefaultProject.getArtifacts()
DefaultProjectManager.getAttachedArtifacts
(Project project) Modifier and TypeMethodDescriptionvoid
DefaultProjectManager.attachArtifact
(Project project, ProducedArtifact artifact, Path path) void
AbstractSession.deployArtifact
(RemoteRepository repository, ProducedArtifact... artifacts) Shortcut forgetService(ArtifactDeployer.class).deploy(...)
void
AbstractSession.installArtifacts
(ProducedArtifact... artifacts) Shortcut forgetService(ArtifactInstaller.class).install(...)
void
AbstractSession.setArtifactPath
(ProducedArtifact artifact, Path path) Shortcut forgetService(ArtifactManager.class).setPath(...)
void
DefaultArtifactManager.setPath
(ProducedArtifact artifact, Path path) Modifier and TypeMethodDescriptionvoid
AbstractSession.installArtifacts
(Collection<ProducedArtifact> artifacts) Shortcut forgetService(ArtifactInstaller.class).install(...)