org.codehaus.mojo.natives.plugin
Class NativeJavahMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.natives.plugin.NativeJavahMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
- public class NativeJavahMojo
- extends AbstractMojo
Generate jni include files based on a set of class names
- Version:
- $Id: NativeJavahMojo.java 10454 2009-08-29 01:19:18Z dantran $
- Author:
- Dan T. Tran
- 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
|
Field Summary |
protected File |
workingDirectory
user directory when external tools( ie compiler/linker ) are invoked |
| 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 |
workingDirectory
protected File workingDirectory
- user directory when external tools( ie compiler/linker ) are invoked
- Is defined by:
- expression:
- ${workingDirectory}
- default-value:
- ${basedir}
NativeJavahMojo
public NativeJavahMojo()
execute
public void execute()
throws MojoExecutionException
- Throws:
MojoExecutionException
getJavahConfiguration
protected JavahConfiguration getJavahConfiguration()
- Internal only for test harness purpose
- Returns:
getProject
protected MavenProject getProject()
- Internal for unit test only
Copyright © 2005-2009 Codehaus. All Rights Reserved.