@Mojo(name="normalize",
defaultPhase=PACKAGE)
public class Pack200NormalizeMojo
extends org.apache.maven.plugin.AbstractMojo
Pack200.Packer for theory behind this.| Modifier and Type | Field and Description |
|---|---|
private java.io.File |
buildDirectory |
private java.lang.String |
finalName
Name of the normalized JAR.
|
private boolean |
fork
Whether to fork the pack operation in a separate process.
|
private Pack200Archiver |
pack200 |
private java.util.List<org.apache.maven.artifact.Artifact> |
pluginArtifacts |
private org.apache.maven.project.MavenProject |
project |
private boolean |
skip
Skip execution.
|
private java.util.List<java.lang.String> |
supportedProjectTypes
Project types which this plugin supports.
|
| Constructor and Description |
|---|
Pack200NormalizeMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
@Parameter(property="project",
required=true)
private org.apache.maven.project.MavenProject project
@Parameter(property="project.build.directory",
required=true)
private java.io.File buildDirectory
@Parameter(alias="jarName",
property="project.build.finalName",
required=true)
private java.lang.String finalName
@Parameter(defaultValue="false") private boolean skip
@Parameter(defaultValue="false") private boolean fork
@Parameter private java.util.List<java.lang.String> supportedProjectTypes
@Parameter(property="plugin.artifacts") private java.util.List<org.apache.maven.artifact.Artifact> pluginArtifacts
@Component private Pack200Archiver pack200