Package org.codehaus.mojo.natives.plugin
Class AbstractNativeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.natives.plugin.AbstractNativeMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
NativeBundleIncludeFilesMojo,NativeCompileMojo,NativeJavahMojo,NativeLinkMojo,NativeManifestMojo,NativeMessageCompileMojo,NativeRanlibMojo,NativeResourceCompileMojo,NativeUnZipIncMojo
public abstract class AbstractNativeMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FileDirectory to unpack .inczip dependency files to be included as system include pathprotected static final Listprivate EnvFactoryprotected EnvFactoryManagerprivate StringSpecifies a fully qualified class name implementing the org.codehaus.mojo.natives.EnvFactory interface.static final Stringstatic final Stringstatic final Stringstatic final Stringprotected org.apache.maven.project.MavenProjectPOMprotected Fileuser directory when external tools( ie compiler/linker ) are invokedFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Listprotected EnvFactoryprotected org.apache.maven.project.MavenProjectInternal for unit test onlyprotected static String[]removeEmptyOptions(List args) protected voidsaveCompilerOutputFilePaths(List filePaths) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Field Details
-
LINKER_INPUT_LIST_NAME
- See Also:
-
LINKER_OUTPUT_PATH
- See Also:
-
INCZIP_FOUND
- See Also:
-
INCZIP_TYPE
- See Also:
-
EMPTY_FILE_LIST
-
project
@Parameter(defaultValue="${project}", readonly=true, required=true) protected org.apache.maven.project.MavenProject projectPOM -
workingDirectory
user directory when external tools( ie compiler/linker ) are invoked -
envFactoryName
Specifies a fully qualified class name implementing the org.codehaus.mojo.natives.EnvFactory interface. The class creates a set environment variables to be used with the command line. -
envFactoryManager
-
dependencyIncludeDirectory
@Parameter(defaultValue="${project.build.directory}/native/include") protected File dependencyIncludeDirectoryDirectory to unpack .inczip dependency files to be included as system include path -
envFactory
-
-
Constructor Details
-
AbstractNativeMojo
public AbstractNativeMojo()
-
-
Method Details
-
removeEmptyOptions
-
getAllCompilersOutputFileList
-
saveCompilerOutputFilePaths
protected void saveCompilerOutputFilePaths(List filePaths) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
getProject
protected org.apache.maven.project.MavenProject getProject()Internal for unit test only -
getEnvFactory
- Throws:
org.apache.maven.plugin.MojoExecutionException
-