org.bsc.maven.plugin.processor
Class TestAnnotationProcessorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.bsc.maven.plugin.processor.AbstractAnnotationProcessorMojo
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
| 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 |
TestAnnotationProcessorMojo
public TestAnnotationProcessorMojo()
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.