org.codehaus.mojo.natives.plugin
Class NativeJavahMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.natives.plugin.NativeJavahMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class NativeJavahMojo
extends org.apache.maven.plugin.AbstractMojo

Generate jni include files based on a set of class names

Version:
$Id: NativeJavahMojo.java 6588 2008-03-28 12:22:57Z bentmann $
Author:
Dan T. Tran

Field Summary
protected  java.io.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  org.codehaus.mojo.natives.javah.JavahConfiguration getJavahConfiguration()
          Internal only for test harness purpose
protected  org.apache.maven.project.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 java.io.File workingDirectory
user directory when external tools( ie compiler/linker ) are invoked

Constructor Detail

NativeJavahMojo

public NativeJavahMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getJavahConfiguration

protected org.codehaus.mojo.natives.javah.JavahConfiguration getJavahConfiguration()
Internal only for test harness purpose

Returns:

getProject

protected org.apache.maven.project.MavenProject getProject()
Internal for unit test only



Copyright © 2005-2009. All Rights Reserved.