Class NativeUnZipIncMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.natives.plugin.AbstractNativeMojo
org.codehaus.mojo.natives.plugin.NativeUnZipIncMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="unzipinc", defaultPhase=GENERATE_SOURCES, requiresDependencyResolution=COMPILE) public class NativeUnZipIncMojo extends AbstractNativeMojo
Unpack any .inczip dependencies to be included as system include path
  • Field Details

    • dependencyIncZipMarkerDirectory

      @Parameter(defaultValue="${project.build.directory}/native/markers", required=true) private File dependencyIncZipMarkerDirectory
      Internal
    • archiverManager

      @Component private org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
  • Constructor Details

    • NativeUnZipIncMojo

      public NativeUnZipIncMojo()
  • Method Details

    • execute

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

      private boolean unpackIncZipDepenedencies() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • unpackZipFile

      protected void unpackZipFile(File zipFile) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getIncZipDependencies

      private List getIncZipDependencies()
      Get all .inczip compile time dependencies