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.setArtifactPath
(ProducedArtifact artifact, Path path) Shortcut forgetService(ArtifactManager.class).setPath(...)
. -
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.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) void
ArtifactManager.setPath
(ProducedArtifact artifact, Path path) Associates the given file path to the artifact. -
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.setArtifactPath
(ProducedArtifact artifact, Path path) Shortcut forgetService(ArtifactManager.class).setPath(...)
void
DefaultArtifactManager.setPath
(ProducedArtifact artifact, Path path)