Class NativeInitializeMojo

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

    @Mojo(name="initialize",
          defaultPhase=INITIALIZE)
    public class NativeInitializeMojo
    extends org.apache.maven.plugin.AbstractMojo
    Initialize build lifecycle
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.maven.project.MavenProject project  
      protected boolean skip
      Set to true to skip the execution of native plugin mojos.
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • 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(defaultValue="${project}",
                   readonly=true,
                   required=true)
        protected org.apache.maven.project.MavenProject project
      • skip

        @Parameter(property="native.skip",
                   defaultValue="false")
        protected boolean skip
        Set to true to skip the execution of native plugin mojos.
        Since:
        1.0-M2
    • Constructor Detail

      • NativeInitializeMojo

        public NativeInitializeMojo()
    • Method Detail

      • execute

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