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 File
Directory to unpack .inczip dependency files to be included as system include pathprivate EnvFactory
protected EnvFactoryManager
private String
Specifies a fully qualified class name implementing the org.codehaus.mojo.natives.EnvFactory interface.static final String
static final String
static final String
static final String
protected org.apache.maven.project.MavenProject
protected File
user 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 EnvFactory
protected org.apache.maven.project.MavenProject
Internal for unit test onlyprotected static String[]
removeEmptyOptions
(List<String> args) protected void
saveCompilerOutputFilePaths
(List<File> filePaths) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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 project -
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<File> 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
-