org.codehaus.mojo.natives.plugin
Class NativeJavahMojo

java.lang.Object
  extended byorg.apache.maven.plugin.AbstractMojo
      extended byorg.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
 
Constructor Summary
NativeJavahMojo()
           
 
Method Summary
 void execute()
           
protected  JavahConfiguration getJavahConfiguration()
          Internal only for test harness purpose
protected  MavenProject getProject()
          Internal for unit test only
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workingDirectory

protected File workingDirectory
user directory when external tools( ie compiler/linker ) are invoked

Is defined by:
expression:
${workingDirectory}
default-value:
${basedir}
Constructor Detail

NativeJavahMojo

public NativeJavahMojo()
Method Detail

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.