@Mojo(name="process-test",
threadSafe=true,
requiresDependencyResolution=TEST,
defaultPhase=GENERATE_TEST_SOURCES)
public class TestAnnotationProcessorMojo
extends AbstractAnnotationProcessorMojo
compilerManager, fork, project, session, skip| Constructor and Description |
|---|
TestAnnotationProcessorMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCompileSourceRoot(org.apache.maven.project.MavenProject project,
String dir) |
protected List<String> |
getAllCompileSourceRoots() |
protected Set<String> |
getClasspathElements(Set<String> result) |
File |
getDefaultOutputDirectory() |
protected File |
getOutputClassDirectory() |
protected Set<String> |
getResourcesElements(Set<String> result) |
Set<File> |
getSourceDirectories(Set<File> result) |
executeprotected void addCompileSourceRoot(org.apache.maven.project.MavenProject project,
String dir)
addCompileSourceRoot in class AbstractAnnotationProcessorMojoprotected List<String> getAllCompileSourceRoots()
getAllCompileSourceRoots in class AbstractAnnotationProcessorMojopublic File getDefaultOutputDirectory()
getDefaultOutputDirectory in class AbstractAnnotationProcessorMojoprotected File getOutputClassDirectory()
getOutputClassDirectory in class AbstractAnnotationProcessorMojopublic Set<File> getSourceDirectories(Set<File> result)
getSourceDirectories in class AbstractAnnotationProcessorMojoprotected Set<String> getResourcesElements(Set<String> result)
getResourcesElements in class AbstractAnnotationProcessorMojoprotected Set<String> getClasspathElements(Set<String> result)
getClasspathElements in class AbstractAnnotationProcessorMojoCopyright © 2009–2020. All rights reserved.