org.freehep.maven.nar
Class NarJavahMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.freehep.maven.nar.AbstractNarMojo
          extended by org.freehep.maven.nar.AbstractDependencyMojo
              extended by org.freehep.maven.nar.AbstractCompileMojo
                  extended by org.freehep.maven.nar.NarJavahMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, NarConstants

public class NarJavahMojo
extends AbstractCompileMojo

Compiles class files into c/c++ headers using "javah". Any class file that contains methods that were declared "native" will be run through javah.

Version:
$Id: NarJavahMojo.java 13111 2007-07-24 04:02:00Z duns $
Author:
Mark Donszelmann

Field Summary
 
Fields inherited from class org.freehep.maven.nar.AbstractCompileMojo
maxCores
 
Fields inherited from interface org.freehep.maven.nar.NarConstants
LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_VERBOSE, LOG_LEVEL_WARNING, NAR_EXTENSION, NAR_NO_ARCH, NAR_ROLE_HINT, NAR_TYPE
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
NarJavahMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.freehep.maven.nar.AbstractCompileMojo
failOnError, getAntProject, getC, getCpp, getDependencyLibOrder, getFortran, getJava, getJavah, getJavaHome, getLibraries, getOutput, getRuntime, getTests, setDependencyLibOrder, useLibtool
 
Methods inherited from class org.freehep.maven.nar.AbstractDependencyMojo
getLocalRepository, getNarManager
 
Methods inherited from class org.freehep.maven.nar.AbstractNarMojo
getAOL, getAOLKey, getArchitecture, getFinalName, getLinker, getMavenProject, getOS, getOutputDirectory, getTargetDirectory, shouldSkip
 
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
 

Constructor Detail

NarJavahMojo

public NarJavahMojo()
Method Detail

execute

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


Copyright 2000-2007 FreeHEP. All Rights Reserved.