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 EnvFactoryManagerstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected org.apache.maven.project.MavenProjectprotected 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 EnvFactoryprotected org.apache.maven.project.MavenProjectInternal for unit test onlyprotected static String[]removeEmptyOptions(List<String> args) protected voidsaveCompilerOutputFilePaths(List<File> 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 project -
workingDirectory
user directory when external tools( ie compiler/linker ) are invoked -
envFactoryManager
-
dependencyIncludeDirectory
@Parameter(defaultValue="${project.build.directory}/native/include") protected File dependencyIncludeDirectoryDirectory to unpack .inczip dependency files to be included as system include path
-
-
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
-