org.bsc.maven.plugin.processor
Class TestAnnotationProcessorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.bsc.maven.plugin.processor.AbstractAnnotationProcessorMojo
          extended by org.bsc.maven.plugin.processor.TestAnnotationProcessorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="process-test",
      threadSafe=true,
      requiresDependencyResolution=TEST,
      defaultPhase=GENERATE_TEST_SOURCES)
public class TestAnnotationProcessorMojo
extends AbstractAnnotationProcessorMojo

Author:
bsorrentino

Field Summary
 
Fields inherited from class org.bsc.maven.plugin.processor.AbstractAnnotationProcessorMojo
project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestAnnotationProcessorMojo()
           
 
Method Summary
protected  void addCompileSourceRoot(org.apache.maven.project.MavenProject project, String dir)
           
protected  Set<String> getClasspathElements(Set<String> result)
           
 File getDefaultOutputDirectory()
           
protected  File getOutputClassDirectory()
           
 Set<File> getSourceDirectories(Set<File> result)
           
 
Methods inherited from class org.bsc.maven.plugin.processor.AbstractAnnotationProcessorMojo
execute
 
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

TestAnnotationProcessorMojo

public TestAnnotationProcessorMojo()
Method Detail

addCompileSourceRoot

protected void addCompileSourceRoot(org.apache.maven.project.MavenProject project,
                                    String dir)
Specified by:
addCompileSourceRoot in class AbstractAnnotationProcessorMojo

getDefaultOutputDirectory

public File getDefaultOutputDirectory()
Specified by:
getDefaultOutputDirectory in class AbstractAnnotationProcessorMojo
Returns:

getOutputClassDirectory

protected File getOutputClassDirectory()
Specified by:
getOutputClassDirectory in class AbstractAnnotationProcessorMojo
Returns:
output folder

getSourceDirectories

public Set<File> getSourceDirectories(Set<File> result)
Specified by:
getSourceDirectories in class AbstractAnnotationProcessorMojo
Returns:
supported source directories

getClasspathElements

protected Set<String> getClasspathElements(Set<String> result)
Specified by:
getClasspathElements in class AbstractAnnotationProcessorMojo


Copyright © 2009-2013. All Rights Reserved.