public abstract class AbstractNativeMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected File |
dependencyIncludeDirectory
Directory to unpack .inczip dependency files to be included as system include path
|
protected static List |
EMPTY_FILE_LIST |
protected EnvFactoryManager |
envFactoryManager |
static 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 |
protected File |
workingDirectory
user directory when external tools( ie compiler/linker ) are invoked
|
| Constructor and Description |
|---|
AbstractNativeMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected List |
getAllCompilersOutputFileList() |
protected EnvFactory |
getEnvFactory() |
protected org.apache.maven.project.MavenProject |
getProject()
Internal for unit test only
|
protected static String[] |
removeEmptyOptions(List args) |
protected void |
saveCompilerOutputFilePaths(List filePaths) |
getLog, getPluginContext, setLog, setPluginContextpublic static final String LINKER_INPUT_LIST_NAME
public static final String LINKER_OUTPUT_PATH
public static final String INCZIP_FOUND
public static final String INCZIP_TYPE
protected static final List EMPTY_FILE_LIST
@Parameter(defaultValue="${project}",
readonly=true,
required=true)
protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="${basedir}",
required=true)
protected File workingDirectory
@Component protected EnvFactoryManager envFactoryManager
@Parameter(defaultValue="${project.build.directory}/native/include")
protected File dependencyIncludeDirectory
protected List getAllCompilersOutputFileList()
protected void saveCompilerOutputFilePaths(List filePaths) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected org.apache.maven.project.MavenProject getProject()
protected EnvFactory getEnvFactory() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2005–2018 MojoHaus. All rights reserved.