@Mojo(name="process",
threadSafe=true,
requiresDependencyResolution=COMPILE,
defaultPhase=GENERATE_SOURCES)
public class MainAnnotationProcessorMojo
extends AbstractAnnotationProcessorMojo
compilerManager, fork, project, repoSession, session, skip, skipSourcesUnchanged| Constructor and Description |
|---|
MainAnnotationProcessorMojo() |
| 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) |
buildProcessorPath, executeprotected File getOutputClassDirectory()
getOutputClassDirectory in class AbstractAnnotationProcessorMojoprotected 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 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–2023. All rights reserved.