Package org.codehaus.mojo.natives.plugin
Class NativeJavahMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.natives.plugin.AbstractNativeMojo
-
- org.codehaus.mojo.natives.plugin.NativeJavahMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
public class NativeJavahMojo extends AbstractNativeMojo
Generate JNI include files based on a set of class names
-
-
Field Summary
Fields Modifier and Type Field Description protected FilejavahOutputDirectoryWhere to place javah generated file-
Fields inherited from class org.codehaus.mojo.natives.plugin.AbstractNativeMojo
dependencyIncludeDirectory, EMPTY_FILE_LIST, envFactoryManager, INCZIP_FOUND, INCZIP_TYPE, LINKER_INPUT_LIST_NAME, LINKER_OUTPUT_PATH, project, workingDirectory
-
-
Constructor Summary
Constructors Constructor Description NativeJavahMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()protected JavahConfigurationgetJavahConfiguration()Internal only for test harness purposeprotected org.apache.maven.project.MavenProjectgetProject()Internal for unit test only-
Methods inherited from class org.codehaus.mojo.natives.plugin.AbstractNativeMojo
getAllCompilersOutputFileList, getEnvFactory, removeEmptyOptions, saveCompilerOutputFilePaths
-
-
-
-
Field Detail
-
javahOutputDirectory
protected File javahOutputDirectory
Where to place javah generated file- Since:
- 1.0-alpha-2
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getJavahConfiguration
protected JavahConfiguration getJavahConfiguration()
Internal only for test harness purpose- Returns:
-
getProject
protected org.apache.maven.project.MavenProject getProject()
Internal for unit test only- Overrides:
getProjectin classAbstractNativeMojo
-
-