@Mojo(name="javah", defaultPhase=GENERATE_SOURCES, requiresDependencyResolution=COMPILE) public class NativeJavahMojo extends AbstractNativeMojo
Modifier and Type | Field and Description |
---|---|
protected File |
javahOutputDirectory
Where to place javah generated file
|
dependencyIncludeDirectory, EMPTY_FILE_LIST, envFactoryManager, INCZIP_FOUND, INCZIP_TYPE, LINKER_INPUT_LIST_NAME, LINKER_OUTPUT_PATH, project, workingDirectory
Constructor and Description |
---|
NativeJavahMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected JavahConfiguration |
getJavahConfiguration()
Internal only for test harness purpose
|
protected org.apache.maven.project.MavenProject |
getProject()
Internal for unit test only
|
getAllCompilersOutputFileList, getEnvFactory, removeEmptyOptions, saveCompilerOutputFilePaths
@Parameter(defaultValue="${project.build.directory}/native/javah", required=true) protected File javahOutputDirectory
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected JavahConfiguration getJavahConfiguration()
protected org.apache.maven.project.MavenProject getProject()
getProject
in class AbstractNativeMojo
Copyright © 2005–2018 MojoHaus. All rights reserved.