Class Pack200NormalizeMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eclipse.tycho.extras.pack200.mojo.Pack200NormalizeMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="normalize", defaultPhase=PACKAGE) public class Pack200NormalizeMojo extends org.apache.maven.plugin.AbstractMojo
Performs pack200 normalization,Pack200.Packer
for theory behind this.
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description Pack200NormalizeMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
-
-
Field Detail
-
project
@Parameter(property="project", required=true) private org.apache.maven.project.MavenProject project
-
buildDirectory
@Parameter(property="project.build.directory", required=true) private java.io.File buildDirectory
-
finalName
@Parameter(alias="jarName", property="project.build.finalName", required=true) private java.lang.String finalName
Name of the normalized JAR.
-
skip
@Parameter(defaultValue="false") private boolean skip
Skip execution.- Since:
- 0.20.0
-
fork
@Parameter(defaultValue="false") private boolean fork
Whether to fork the pack operation in a separate process.- Since:
- 0.23.0
-
supportedProjectTypes
@Parameter private java.util.List<java.lang.String> supportedProjectTypes
Project types which this plugin supports.
-
pluginArtifacts
@Parameter(property="plugin.artifacts") private java.util.List<org.apache.maven.artifact.Artifact> pluginArtifacts
-
pack200
@Component private Pack200Archiver pack200
-
-