org.bsc.maven.plugin.processor
Class MainAnnotationProcessorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.bsc.maven.plugin.processor.AbstractAnnotationProcessorMojo
          extended by org.bsc.maven.plugin.processor.MainAnnotationProcessorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class MainAnnotationProcessorMojo
extends AbstractAnnotationProcessorMojo

Author:
bsorrentino

Field Summary
 
Fields inherited from class org.bsc.maven.plugin.processor.AbstractAnnotationProcessorMojo
project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MainAnnotationProcessorMojo()
           
 
Method Summary
protected  void addCompileSourceRoot(org.apache.maven.project.MavenProject project, String dir)
           
protected  Set<String> getClasspathElements(Set<String> result)
           
 File getDefaultOutputDirectory()
           
protected  File getOutputClassDirectory()
           
 Set<File> getSourceDirectories()
           
 
Methods inherited from class org.bsc.maven.plugin.processor.AbstractAnnotationProcessorMojo
execute, getAdditionalSourceDirectories
 
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
 

Constructor Detail

MainAnnotationProcessorMojo

public MainAnnotationProcessorMojo()
Method Detail

getSourceDirectories

public Set<File> getSourceDirectories()
Specified by:
getSourceDirectories in class AbstractAnnotationProcessorMojo
Returns:
supported source directories

getOutputClassDirectory

protected File getOutputClassDirectory()
Specified by:
getOutputClassDirectory in class AbstractAnnotationProcessorMojo
Returns:
output folder

addCompileSourceRoot

protected void addCompileSourceRoot(org.apache.maven.project.MavenProject project,
                                    String dir)
Specified by:
addCompileSourceRoot in class AbstractAnnotationProcessorMojo

getDefaultOutputDirectory

public File getDefaultOutputDirectory()
Specified by:
getDefaultOutputDirectory in class AbstractAnnotationProcessorMojo
Returns:

getClasspathElements

protected Set<String> getClasspathElements(Set<String> result)
Specified by:
getClasspathElements in class AbstractAnnotationProcessorMojo


Copyright © 2009-2012. All Rights Reserved.