@Mojo(name="process") public class ArtifactMojo extends AbstractMojo
ArtifactsProcessor
Constructor and Description |
---|
ArtifactMojo()
Creates a new
ArtifactMojo . |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Collects all
Artifact s that should be
processed—according to the associated ArtifactFilter —and hands them off
to the associated ArtifactsProcessor . |
ArtifactsProcessor |
getArtifactsProcessor()
Returns an
ArtifactsProcessor for use by the execute() method. |
getLog, getPluginContext, setLog, setPluginContext
public ArtifactMojo()
ArtifactMojo
.public void execute() throws MojoExecutionException, MojoFailureException
Artifact
s that should be
processed—according to the associated ArtifactFilter
—and hands them off
to the associated ArtifactsProcessor
.MojoExecutionException
- if processing failedMojoFailureException
- if setup failedArtifactsProcessor
public ArtifactsProcessor getArtifactsProcessor()
ArtifactsProcessor
ArtifactsProcessor
Copyright © 2013–2015, Laird Nelson. All rights reserved.