net.jangaroo.jooc.mvnplugin.test
Class AbstractJooTestMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.jangaroo.jooc.mvnplugin.test.AbstractJooTestMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
JooGenerateTestResourcesMojo, JooTestMojo

public abstract class AbstractJooTestMojo
extends org.apache.maven.plugin.AbstractMojo


Field Summary
protected  org.apache.maven.project.MavenProject project
          The maven project.
protected  boolean skip
          Set this to 'true' to bypass unit tests entirely.
protected  boolean skipTests
          Set this to 'true' to skip running tests, but still compile them.
protected  java.io.File testOutputDirectory
          Output directory for the janagroo artifact unarchiver.
protected  java.util.List<org.apache.maven.model.Resource> testResources
          the tests.html file relative to the test resources folder
protected  java.lang.String testsHtml
          the tests.html file relative to the test resources folder
protected  java.io.File testSourceDirectory
          Source directory to scan for files to compile.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractJooTestMojo()
           
 
Method Summary
protected  boolean isTestAvailable()
           
 
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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

project

protected org.apache.maven.project.MavenProject project
The maven project.


testOutputDirectory

protected java.io.File testOutputDirectory
Output directory for the janagroo artifact unarchiver. All jangaroo dependencies will be unpacked into this directory.


testSourceDirectory

protected java.io.File testSourceDirectory
Source directory to scan for files to compile.


testsHtml

protected java.lang.String testsHtml
the tests.html file relative to the test resources folder


testResources

protected java.util.List<org.apache.maven.model.Resource> testResources
the tests.html file relative to the test resources folder


skip

protected boolean skip
Set this to 'true' to bypass unit tests entirely. Its use is NOT RECOMMENDED, especially if you enable it using the "maven.test.skip" property, because maven.test.skip disables both running the tests and compiling the tests. Consider using the skipTests parameter instead.


skipTests

protected boolean skipTests
Set this to 'true' to skip running tests, but still compile them. Its use is NOT RECOMMENDED, but quite convenient on occasion.

Constructor Detail

AbstractJooTestMojo

public AbstractJooTestMojo()
Method Detail

isTestAvailable

protected boolean isTestAvailable()


Copyright © 2002-2010 CoreMedia AG. All Rights Reserved.