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 pathprivate 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.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 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 -
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
-
getProject
protected org.apache.maven.project.MavenProject getProject()Internal for unit test only -
getEnvFactory
- Throws:
org.apache.maven.plugin.MojoExecutionException
-