Package 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
-
-
Field Summary
-
Fields inherited from class org.bsc.maven.plugin.processor.AbstractAnnotationProcessorMojo
compilerManager, fork, project, session, skip
-
-
Constructor Summary
Constructors Constructor Description TestAnnotationProcessorMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddCompileSourceRoot(org.apache.maven.project.MavenProject project, String dir)protected Set<String>getClasspathElements(Set<String> result)FilegetDefaultOutputDirectory()protected FilegetOutputClassDirectory()protected Set<String>getResourcesElements(Set<String> result)Set<File>getSourceDirectories(Set<File> result)-
Methods inherited from class org.bsc.maven.plugin.processor.AbstractAnnotationProcessorMojo
execute
-
-
-
-
Method Detail
-
addCompileSourceRoot
protected void addCompileSourceRoot(org.apache.maven.project.MavenProject project, String dir)- Specified by:
addCompileSourceRootin classAbstractAnnotationProcessorMojo
-
getDefaultOutputDirectory
public File getDefaultOutputDirectory()
- Specified by:
getDefaultOutputDirectoryin classAbstractAnnotationProcessorMojo- Returns:
-
getOutputClassDirectory
protected File getOutputClassDirectory()
- Specified by:
getOutputClassDirectoryin classAbstractAnnotationProcessorMojo- Returns:
- output folder
-
getSourceDirectories
public Set<File> getSourceDirectories(Set<File> result)
- Specified by:
getSourceDirectoriesin classAbstractAnnotationProcessorMojo- Returns:
- supported source directories
-
getResourcesElements
protected Set<String> getResourcesElements(Set<String> result)
- Specified by:
getResourcesElementsin classAbstractAnnotationProcessorMojo
-
getClasspathElements
protected Set<String> getClasspathElements(Set<String> result)
- Specified by:
getClasspathElementsin classAbstractAnnotationProcessorMojo
-
-