Package org.codehaus.mojo.natives.plugin
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
public class NativeUnZipIncMojo extends AbstractNativeMojo
Unpack any .inczip dependencies to be included as system include path- Since:
- 1.0-alpha-4
-
-
Field Summary
Fields Modifier and Type Field Description private org.codehaus.plexus.archiver.manager.ArchiverManager
archiverManager
Internal component for archiving purposesprivate java.io.File
dependencyIncZipMarkerDirectory
Internal-
Fields inherited from class org.codehaus.mojo.natives.plugin.AbstractNativeMojo
dependencyIncludeDirectory, EMPTY_FILE_LIST, envFactoryManager, INCZIP_FOUND, INCZIP_TYPE, LINKER_INPUT_LIST_NAME, LINKER_OUTPUT_PATH, project, workingDirectory
-
-
Constructor Summary
Constructors Constructor Description NativeUnZipIncMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
private java.util.List
getIncZipDependencies()
Get all .inczip compile time dependenciesprivate boolean
unpackIncZipDepenedencies()
protected void
unpackZipFile(java.io.File zipFile)
-
Methods inherited from class org.codehaus.mojo.natives.plugin.AbstractNativeMojo
getAllCompilersOutputFileList, getEnvFactory, getProject, removeEmptyOptions, saveCompilerOutputFilePaths
-
-
-
-
Method Detail
-
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(java.io.File zipFile) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getIncZipDependencies
private java.util.List getIncZipDependencies()
Get all .inczip compile time dependencies- Returns:
-
-