org.mule.devkit.maven
Class AbstractAnnotationProcessorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.mule.devkit.maven.AbstractMuleMojo
          extended by org.mule.devkit.maven.AbstractAnnotationProcessorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AnnotationProcessorMojo

public abstract class AbstractAnnotationProcessorMojo
extends AbstractMuleMojo


Field Summary
 
Fields inherited from class org.mule.devkit.maven.AbstractMuleMojo
appDirectory, finalName, project, skipStudioPluginPackage
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractAnnotationProcessorMojo()
           
 
Method Summary
protected  void addCompilerArguments(List<String> options)
           
protected abstract  void addCompileSourceRoot(org.apache.maven.project.MavenProject project, String dir)
           
 void execute()
           
protected abstract  Set<String> getClasspathElements(Set<String> result)
           
abstract  File getDefaultOutputDirectory()
           
protected abstract  File getOutputClassDirectory()
           
protected abstract  String[] getProcessors()
           
 
Methods inherited from class org.mule.devkit.maven.AbstractMuleMojo
getFilteredAppDirectory, getMuleZipFile
 
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

AbstractAnnotationProcessorMojo

public AbstractAnnotationProcessorMojo()
Method Detail

getDefaultOutputDirectory

public abstract File getDefaultOutputDirectory()

getOutputClassDirectory

protected abstract File getOutputClassDirectory()

getProcessors

protected abstract String[] getProcessors()

addCompileSourceRoot

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

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

addCompilerArguments

protected void addCompilerArguments(List<String> options)
                             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.