org.bsc.maven.plugin.processor
Class AbstractAnnotationProcessorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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


Field Summary
protected  org.apache.maven.project.MavenProject project
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractAnnotationProcessorMojo()
           
 
Method Summary
protected abstract  void addCompileSourceRoot(org.apache.maven.project.MavenProject project, java.lang.String dir)
           
 void execute()
           
protected abstract  java.util.Set<java.lang.String> getClasspathElements(java.util.Set<java.lang.String> result)
           
abstract  java.io.File getDefaultOutputDirectory()
           
protected abstract  java.io.File getOutputClassDirectory()
           
protected abstract  java.io.File getSourceDirectory()
           
 
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
 

Field Detail

project

protected org.apache.maven.project.MavenProject project
Constructor Detail

AbstractAnnotationProcessorMojo

public AbstractAnnotationProcessorMojo()
Method Detail

getSourceDirectory

protected abstract java.io.File getSourceDirectory()

getOutputClassDirectory

protected abstract java.io.File getOutputClassDirectory()

getClasspathElements

protected abstract java.util.Set<java.lang.String> getClasspathElements(java.util.Set<java.lang.String> result)

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

addCompileSourceRoot

protected abstract void addCompileSourceRoot(org.apache.maven.project.MavenProject project,
                                             java.lang.String dir)

getDefaultOutputDirectory

public abstract java.io.File getDefaultOutputDirectory()


Copyright © 2011. All Rights Reserved.