org.freehep.maven.nar
Class NarTestMojo

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.NarTestMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, NarConstants

public class NarTestMojo
extends AbstractCompileMojo

Tests NAR files. Runs Native Tests and executables if produced.

Version:
$Id: NarTestMojo.java 13224 2007-08-08 22:49:17Z 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
NarTestMojo()
           
 
Method Summary
 void execute()
           
protected  File getTargetDirectory()
           
 
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, 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

NarTestMojo

public NarTestMojo()
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

getTargetDirectory

protected File getTargetDirectory()
Overrides:
getTargetDirectory in class AbstractNarMojo


Copyright © 2000-2007 FreeHEP. All Rights Reserved.