org.bsc.maven.plugin.processor
Class AbstractAnnotationProcessorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.bsc.maven.plugin.processor.AbstractAnnotationProcessorMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- MainAnnotationProcessorMojo, TestAnnotationProcessorMojo
public abstract class AbstractAnnotationProcessorMojo
- extends org.apache.maven.plugin.AbstractMojo
- Author:
- bsorrentino
|
Field Summary |
protected org.apache.maven.project.MavenProject |
project
|
| 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 |
project
@Component
protected org.apache.maven.project.MavenProject project
AbstractAnnotationProcessorMojo
public AbstractAnnotationProcessorMojo()
getAdditionalSourceDirectories
public File[] getAdditionalSourceDirectories()
getSourceDirectories
protected abstract Set<File> getSourceDirectories()
- Returns:
- supported source directories
getOutputClassDirectory
protected abstract File getOutputClassDirectory()
- Returns:
- output folder
addCompileSourceRoot
protected abstract void addCompileSourceRoot(org.apache.maven.project.MavenProject project,
String dir)
- Parameters:
project - dir -
getDefaultOutputDirectory
public abstract File getDefaultOutputDirectory()
- Returns:
getClasspathElements
protected abstract Set<String> getClasspathElements(Set<String> result)
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2009-2012. All Rights Reserved.