com.github.maven_nar
Class NarTestCompileMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.github.maven_nar.AbstractNarMojo
          extended by com.github.maven_nar.AbstractDependencyMojo
              extended by com.github.maven_nar.AbstractCompileMojo
                  extended by com.github.maven_nar.NarTestCompileMojo
All Implemented Interfaces:
NarConstants, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class NarTestCompileMojo
extends AbstractCompileMojo

Compiles native test source files.

Author:
Mark Donszelmann

Field Summary
protected  boolean skipNar
          Skip running of NAR integration test plugins.
 
Fields inherited from class com.github.maven_nar.AbstractCompileMojo
commandLogLevel, decorateLinkerOptions, onlySpecifiedCompilers
 
Fields inherited from class com.github.maven_nar.AbstractDependencyMojo
archiverManager, artifactResolver, remoteArtifactRepositories
 
Fields inherited from class com.github.maven_nar.AbstractNarMojo
classesDirectory, classifiers, libraries
 
Fields inherited from interface com.github.maven_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
NarTestCompileMojo()
           
 
Method Summary
protected  List getArtifacts()
           
protected  File getUnpackDirectory()
           
 void narExecute()
           
 
Methods inherited from class com.github.maven_nar.AbstractCompileMojo
failOnError, getAntProject, getC, getCpp, getDependencyLibOrder, getFortran, getIdl, getJava, getMaxCores, getMessage, getOutput, getResource, getRuntime, getTests, setC, setCpp, setDependencyLibOrder, setFortran, setIdl, setMessage, setResource, useLibtool
 
Methods inherited from class com.github.maven_nar.AbstractDependencyMojo
downloadAttachedNars, getAllAttachedNarArtifacts, getArchiverManager, getBinding, getLocalRepository, getNarArtifacts, getNarInfo, getNarManager, getRemoteRepositories, unpackAttachedNars
 
Methods inherited from class com.github.maven_nar.AbstractNarMojo
execute, getAOL, getArchitecture, getBasedir, getJavah, getJavaHome, getLayout, getLibraries, getLinker, getMavenProject, getNarInfo, getOS, getOutput, getOutputDirectory, getTargetDirectory, getTestTargetDirectory, getTestUnpackDirectory, 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
 

Field Detail

skipNar

protected boolean skipNar
Skip running of NAR integration test plugins.

Constructor Detail

NarTestCompileMojo

public NarTestCompileMojo()
Method Detail

getArtifacts

protected List getArtifacts()
Overrides:
getArtifacts in class AbstractDependencyMojo

getUnpackDirectory

protected File getUnpackDirectory()
Overrides:
getUnpackDirectory in class AbstractNarMojo

narExecute

public final void narExecute()
                      throws org.apache.maven.plugin.MojoExecutionException,
                             org.apache.maven.plugin.MojoFailureException
Overrides:
narExecute in class AbstractDependencyMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


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