net.jangaroo.jooc.mvnplugin
Class TestCompilerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.jangaroo.jooc.mvnplugin.JangarooMojo
net.jangaroo.jooc.mvnplugin.AbstractCompilerMojo
net.jangaroo.jooc.mvnplugin.TestCompilerMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class TestCompilerMojo
- extends AbstractCompilerMojo
Mojo to compile Jangaroo sources from during the test-compile phase.
|
Field Summary |
protected boolean |
skip
Set this to 'true' to bypass unit tests entirely. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
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.
TestCompilerMojo
public TestCompilerMojo()
getApiOutputDirectory
protected File getApiOutputDirectory()
- Specified by:
getApiOutputDirectory in class AbstractCompilerMojo
- Returns:
- null as API stub generation does not make sense for test sources
getCompileSourceRoots
protected List<File> getCompileSourceRoots()
- Specified by:
getCompileSourceRoots in class AbstractCompilerMojo
getOutputDirectory
protected File getOutputDirectory()
- Specified by:
getOutputDirectory in class AbstractCompilerMojo
getTempClassesOutputDirectory
protected File getTempClassesOutputDirectory()
- Specified by:
getTempClassesOutputDirectory in class AbstractCompilerMojo
getIncludes
protected Set<String> getIncludes()
- Specified by:
getIncludes in class AbstractCompilerMojo
getExcludes
protected Set<String> getExcludes()
- Specified by:
getExcludes in class AbstractCompilerMojo
getModuleClassesJsFileName
public String getModuleClassesJsFileName()
- Specified by:
getModuleClassesJsFileName in class AbstractCompilerMojo
getActionScriptClassPath
protected List<File> getActionScriptClassPath()
- Overrides:
getActionScriptClassPath in class AbstractCompilerMojo
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Description copied from class:
AbstractCompilerMojo
- Runs the compile mojo
- Specified by:
execute in interface org.apache.maven.plugin.Mojo- Overrides:
execute in class AbstractCompilerMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.