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
Since:
1.0-alpha-4
  • Field Details

    • dependencyIncZipMarkerDirectory

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

      @Component private org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
      Internal component for archiving purposes
      Since:
      1.0-alpha-4
  • 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<org.apache.maven.artifact.Artifact> getIncZipDependencies()
      Get all .inczip compile time dependencies
      Returns: