Class Pack200PackMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="pack",
          defaultPhase=PACKAGE)
    public class Pack200PackMojo
    extends org.apache.maven.plugin.AbstractMojo
    Performs pack200 pack.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.File buildDirectory  
      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  
      protected org.apache.maven.project.MavenProjectHelper projectHelper  
      private java.util.List<java.lang.String> supportedProjectTypes
      Project types which this plugin supports.
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Constructor Summary

      Constructors 
      Constructor Description
      Pack200PackMojo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      • Methods inherited from class org.apache.maven.plugin.AbstractMojo

        getLog, getPluginContext, setLog, setPluginContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • project

        @Parameter(property="project",
                   required=true,
                   readonly=true)
        private org.apache.maven.project.MavenProject project
      • buildDirectory

        @Parameter(property="project.build.directory",
                   required=true)
        private java.io.File buildDirectory
      • 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
      • fork

        @Parameter(defaultValue="false")
        private boolean fork
        Whether to fork the pack operation in a separate process.
        Since:
        0.23.0
      • projectHelper

        @Component
        protected org.apache.maven.project.MavenProjectHelper projectHelper
    • Constructor Detail

      • Pack200PackMojo

        public Pack200PackMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException