org.apache.maven.plugin.nar
Class AbstractCompileMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.nar.AbstractNarMojo
          extended by org.apache.maven.plugin.nar.AbstractDependencyMojo
              extended by org.apache.maven.plugin.nar.AbstractCompileMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, NarConstants
Direct Known Subclasses:
AbstractResourcesMojo, AbstractUnpackMojo, NarCompileMojo, NarIntegrationTestMojo, NarJavahMojo, NarPackageMojo, NarSystemMojo, NarTestCompileMojo, NarTestMojo, NarValidateMojo, NarVcprojMojo

public abstract class AbstractCompileMojo
extends AbstractDependencyMojo

Author:
Mark Donszelmann

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.nar.NarConstants
LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_VERBOSE, LOG_LEVEL_WARNING, NAR, NAR_AOL, NAR_EXTENSION, NAR_NO_ARCH, NAR_ROLE_HINT, NAR_TYPE
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractCompileMojo()
           
 
Method Summary
protected  boolean failOnError(AOL aol)
           
protected  org.apache.tools.ant.Project getAntProject()
           
protected  C getC()
           
protected  Cpp getCpp()
           
protected  java.util.List getDependencyLibOrder()
           
protected  Fortran getFortran()
           
protected  Java getJava()
           
protected  Javah getJavah()
           
protected  java.io.File getJavaHome(AOL aol)
           
protected  java.util.List getLibraries()
           
protected  int getMaxCores(AOL aol)
           
protected  NarInfo getNarInfo()
           
protected  java.lang.String getOutput(AOL aol)
           
protected  java.lang.String getRuntime(AOL aol)
           
protected  java.util.List getTests()
           
 void setDependencyLibOrder(java.util.List order)
           
protected  boolean useLibtool(AOL aol)
           
 
Methods inherited from class org.apache.maven.plugin.nar.AbstractDependencyMojo
getLocalRepository, getNarManager
 
Methods inherited from class org.apache.maven.plugin.nar.AbstractNarMojo
execute, getAOL, getArchitecture, getBasedir, getFinalName, getLayout, getLinker, getMavenProject, getOS, getOutputDirectory, getTargetDirectory, getTestTargetDirectory, getTestUnpackDirectory, getUnpackDirectory, narExecute, validate
 
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

AbstractCompileMojo

public AbstractCompileMojo()
Method Detail

getAntProject

protected final org.apache.tools.ant.Project getAntProject()

getC

protected final C getC()

getCpp

protected final Cpp getCpp()

getFortran

protected final Fortran getFortran()

getMaxCores

protected final int getMaxCores(AOL aol)
                         throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

useLibtool

protected final boolean useLibtool(AOL aol)
                            throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

failOnError

protected final boolean failOnError(AOL aol)
                             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getRuntime

protected final java.lang.String getRuntime(AOL aol)
                                     throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getOutput

protected final java.lang.String getOutput(AOL aol)
                                    throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getJavaHome

protected final java.io.File getJavaHome(AOL aol)
                                  throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getLibraries

protected final java.util.List getLibraries()

getTests

protected final java.util.List getTests()

getJavah

protected final Javah getJavah()

getJava

protected final Java getJava()

setDependencyLibOrder

public final void setDependencyLibOrder(java.util.List order)

getDependencyLibOrder

protected final java.util.List getDependencyLibOrder()

getNarInfo

protected final NarInfo getNarInfo()
                            throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.