@Mojo(name="mojo-annotation-processor", threadSafe=true, requiresDependencyResolution=COMPILE, configurator="takari") public class MojoAnnotationProcessorMojo extends CompileMojo
AbstractCompileMojo.AccessRulesViolation, AbstractCompileMojo.Debug, AbstractCompileMojo.Proc, AbstractCompileMojo.Sourcepath
annotationProcessors, compilerId, failOnError, proc, project, repositorySession, sourcepath
Constructor and Description |
---|
MojoAnnotationProcessorMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected List<File> |
getProcessorpath()
Returns possibly empty list of explicitly specified processorpath entries.
|
addGeneratedSources, getClasspathArtifacts, getExcludes, getGeneratedSourcesDirectory, getIncludes, getMainOutputDirectory, getMainSourceRoots, getOutputDirectory, getProcessorpathDependencies, getSourceRoots, isSkip
getDirectDependencies, getSourceEncoding
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class AbstractCompileMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected List<File> getProcessorpath()
AbstractCompileMojo
null
if the project classpath should be searched for annotation processors.getProcessorpath
in class AbstractCompileMojo
Copyright © 2020. All rights reserved.