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:
- ContextEnabled, Mojo
public class NativeJavahMojo
- extends AbstractNativeMojo
Generate JNI include files based on a set of class names
- Is defined by the goal name:
- javah
- Is bound to the specified phase of the standard build lifecycle:
- generate-sources
- Requires the dependencies in this specified scope:
- compile
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outputDirectory
protected File outputDirectory
- Deprecated. use javahOutputDirectory instead
- Where to place javah generated file
- Since:
- 1.0-alpha-2
- Is defined by:
javahOutputDirectory
protected File javahOutputDirectory
- Where to place javah generated file
- Since:
- 1.0-alpha-2
- Is defined by:
- default-value:
- ${project.build.directory}/native/javah
- Is required.
NativeJavahMojo
public NativeJavahMojo()
execute
public void execute()
throws MojoExecutionException
- Throws:
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:
getProject in class AbstractNativeMojo
Copyright © 2005-2010 Codehaus. All Rights Reserved.