
public interface ArtifactsProcessor
Artifacts.ArtifactMojo| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Artifact> |
process(MavenProject project,
Collection<? extends Artifact> artifacts,
Log log)
Performs some operation on the supplied
Collection of
Artifacts in the context of the supplied MavenProject and returns a Collection of Artifacts representing the result. |
Collection<? extends Artifact> process(MavenProject project, Collection<? extends Artifact> artifacts, Log log) throws ArtifactsProcessingException
Collection of
Artifacts in the context of the supplied MavenProject and returns a Collection of Artifacts representing the result.
Implementations of this method are permitted to return null.
Implementations of this method are permitted to return the
supplied Collection of Artifacts.
Implementations of this method are permitted to mutate the
supplied Collection and/or any of its elements.
Implementations of this method must not mutate the supplied
MavenProject.
project - the MavenProject in the context of which
processing will take place; must not be nullartifacts - the Artifacts to process; may be nulllog - the Log to use when logging; may be nullCollection of Artifacts representing
the result of processing, or nullArtifactsProcessingException - if an error occursArtifactMojo,
Artifact,
MavenProjectCopyright © 2013–2015, Laird Nelson. All rights reserved.