org.codehaus.groovy.maven.plugin.compile
Class TestCompileMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.groovy.maven.plugin.MojoSupport
          extended by org.codehaus.groovy.maven.plugin.ProviderMojoSupport
              extended by org.codehaus.groovy.maven.plugin.ComponentMojoSupport
                  extended by org.codehaus.groovy.maven.plugin.CompilerMojoSupport
                      extended by org.codehaus.groovy.maven.plugin.compile.AbstractCompileMojo
                          extended by org.codehaus.groovy.maven.plugin.compile.TestCompileMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, ClassCompiler.Keys, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class TestCompileMojo
extends AbstractCompileMojo

Compiles Groovy test sources.

Since:
1.0-alpha-1
Version:
$Id: TestCompileMojo.java 13181 2008-08-10 14:05:55Z user57 $
Author:
Jason Dillon

Field Summary
 
Fields inherited from class org.codehaus.groovy.maven.plugin.CompilerMojoSupport
classpath, compileState, sources
 
Fields inherited from class org.codehaus.groovy.maven.plugin.ProviderMojoSupport
pluginArtifactMap
 
Fields inherited from class org.codehaus.groovy.maven.plugin.MojoSupport
artifactFactory, artifactMetadataSource, artifactRepository, artifactResolver, log, project, remoteRepositories
 
Fields inherited from interface org.codehaus.groovy.maven.runtime.ClassCompiler.Keys
ALL, DEBUG, DEFAULT_SCRIPT_EXTENSION, SCRIPT_BASE_CLASSNAME, SOURCE_ENCODING, TARGET_BYTECODE, TOLERANCE, VERBOSE, WARNING_LEVEL
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestCompileMojo()
           
 
Method Summary
protected  void doExecute()
           
protected  org.apache.maven.shared.model.fileset.FileSet[] getDefaultSources()
           
protected  java.util.Set getForcedCompileSources()
           
protected  java.io.File getOutputDirectory()
           
protected  java.util.List getProjectClasspathElements()
           
protected  java.util.List getSourceRoots()
           
 
Methods inherited from class org.codehaus.groovy.maven.plugin.compile.AbstractCompileMojo
compile, process
 
Methods inherited from class org.codehaus.groovy.maven.plugin.CompilerMojoSupport
addSourceRoot, getExcludesFrom, getIncludesFrom, getUserClassspathElements, scanForSources, scanForSources
 
Methods inherited from class org.codehaus.groovy.maven.plugin.ComponentMojoSupport
configure, feature, feature
 
Methods inherited from class org.codehaus.groovy.maven.plugin.ProviderMojoSupport
contextualize, getProviderManager, getProviderSelection, provider
 
Methods inherited from class org.codehaus.groovy.maven.plugin.MojoSupport
createArtifact, createClassPath, execute, getArtifact, resolveArtifact
 
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

TestCompileMojo

public TestCompileMojo()
Method Detail

getProjectClasspathElements

protected java.util.List getProjectClasspathElements()
                                              throws org.apache.maven.artifact.DependencyResolutionRequiredException
Overrides:
getProjectClasspathElements in class MojoSupport
Throws:
org.apache.maven.artifact.DependencyResolutionRequiredException

getOutputDirectory

protected java.io.File getOutputDirectory()
Specified by:
getOutputDirectory in class CompilerMojoSupport

getSourceRoots

protected java.util.List getSourceRoots()
Specified by:
getSourceRoots in class CompilerMojoSupport

getDefaultSources

protected org.apache.maven.shared.model.fileset.FileSet[] getDefaultSources()
Specified by:
getDefaultSources in class CompilerMojoSupport

getForcedCompileSources

protected java.util.Set getForcedCompileSources()
Specified by:
getForcedCompileSources in class AbstractCompileMojo

doExecute

protected void doExecute()
                  throws java.lang.Exception
Overrides:
doExecute in class ComponentMojoSupport
Throws:
java.lang.Exception


Copyright © 2006-2010 Codehaus. All Rights Reserved.