org.codehaus.mojo.apt
Class TestProcessMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.apt.AbstractAptMojo
          extended by org.codehaus.mojo.apt.TestProcessMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class TestProcessMojo
extends AbstractAptMojo

Executes apt on project test sources.

Version:
$Id: TestProcessMojo.java 6836 2008-04-25 09:11:04Z mark $
Author:
Juraj Burian, Mark Hobson

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestProcessMojo()
           
 
Method Summary
protected  List getClasspathElements()
          Gets the project's classpath.
protected  List getCompileSourceRoots()
          The source directories containing the sources to be processed.
protected  Set getExcludes()
          Gets a set of exclusion filters for apt.
protected  Set getIncludes()
          Gets a set of inclusion filters for apt.
protected  File getOutputDirectory()
          The directory root under which processor-generated source files will be placed; files are placed in subdirectories based on package namespace.
protected  List getResources()
          Gets the project's resources.
 
Methods inherited from class org.codehaus.mojo.apt.AbstractAptMojo
execute, executeImpl, getOptions, getProject
 
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

TestProcessMojo

public TestProcessMojo()
Method Detail

getCompileSourceRoots

protected List getCompileSourceRoots()
The source directories containing the sources to be processed.

Specified by:
getCompileSourceRoots in class AbstractAptMojo
Returns:
list of compilation source roots

getResources

protected List getResources()
Gets the project's resources.

Specified by:
getResources in class AbstractAptMojo
Returns:
the project's resources

getClasspathElements

protected List getClasspathElements()
Gets the project's classpath.

Specified by:
getClasspathElements in class AbstractAptMojo
Returns:
a list of classpath elements

getIncludes

protected Set getIncludes()
Gets a set of inclusion filters for apt.

Specified by:
getIncludes in class AbstractAptMojo
Returns:
a set of inclusion filters

getExcludes

protected Set getExcludes()
Gets a set of exclusion filters for apt.

Specified by:
getExcludes in class AbstractAptMojo
Returns:
a set of exclusion filters

getOutputDirectory

protected File getOutputDirectory()
The directory root under which processor-generated source files will be placed; files are placed in subdirectories based on package namespace.

Specified by:
getOutputDirectory in class AbstractAptMojo
Returns:
the directory root under which processor-generated source files will be placed


Copyright © 2006-2011 The Codehaus Mojo Project. All Rights Reserved.