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
Fields Modifier and Type Field Description protected File
dependencyIncludeDirectory
Directory to unpack .inczip dependency files to be included as system include pathprotected static List
EMPTY_FILE_LIST
protected EnvFactoryManager
envFactoryManager
Internalstatic String
INCZIP_FOUND
static String
INCZIP_TYPE
static String
LINKER_INPUT_LIST_NAME
static String
LINKER_OUTPUT_PATH
protected org.apache.maven.project.MavenProject
project
POMprotected File
workingDirectory
user directory when external tools( ie compiler/linker ) are invoked
-
Constructor Summary
Constructors Constructor Description AbstractNativeMojo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List
getAllCompilersOutputFileList()
protected EnvFactory
getEnvFactory()
protected org.apache.maven.project.MavenProject
getProject()
Internal for unit test onlyprotected static String[]
removeEmptyOptions(List args)
protected void
saveCompilerOutputFilePaths(List filePaths)
-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-
-
-
Field Detail
-
LINKER_INPUT_LIST_NAME
public static final String LINKER_INPUT_LIST_NAME
- See Also:
- Constant Field Values
-
LINKER_OUTPUT_PATH
public static final String LINKER_OUTPUT_PATH
- See Also:
- Constant Field Values
-
INCZIP_FOUND
public static final String INCZIP_FOUND
- See Also:
- Constant Field Values
-
INCZIP_TYPE
public static final String INCZIP_TYPE
- See Also:
- Constant Field Values
-
EMPTY_FILE_LIST
protected static final List EMPTY_FILE_LIST
-
project
protected org.apache.maven.project.MavenProject project
POM- Since:
- 1.0-alpha-2
-
workingDirectory
protected File workingDirectory
user directory when external tools( ie compiler/linker ) are invoked- Since:
- 1.0-alpha-2
-
envFactoryManager
protected EnvFactoryManager envFactoryManager
Internal- Since:
- 1.0-alpha-2
-
dependencyIncludeDirectory
protected File dependencyIncludeDirectory
Directory to unpack .inczip dependency files to be included as system include path
-
-
Method Detail
-
getAllCompilersOutputFileList
protected List 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
protected EnvFactory getEnvFactory() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-