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
@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 Summary
FieldsModifier and TypeFieldDescriptionprivate org.codehaus.plexus.archiver.manager.ArchiverManagerprivate FileInternalFields 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, workingDirectoryFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()private ListGet all .inczip compile time dependenciesprivate booleanprotected voidunpackZipFile(File zipFile) Methods inherited from class org.codehaus.mojo.natives.plugin.AbstractNativeMojo
getAllCompilersOutputFileList, getEnvFactory, getProject, removeEmptyOptions, saveCompilerOutputFilePathsMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
dependencyIncZipMarkerDirectory
@Parameter(defaultValue="${project.build.directory}/native/markers", required=true) private File dependencyIncZipMarkerDirectoryInternal -
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
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getIncZipDependencies
Get all .inczip compile time dependencies
-