org.mule.devkit.maven
Class AnnotationProcessorMojo

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

@Mojo(name="generate-sources",
      defaultPhase=GENERATE_SOURCES,
      requiresDependencyResolution=COMPILE)
public class AnnotationProcessorMojo
extends AbstractAnnotationProcessorMojo


Field Summary
static String LICENSE_DESCRIPTOR_FILE_NAME
           
 
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
AnnotationProcessorMojo()
           
 
Method Summary
protected  void addCompilerArguments(List<String> options)
           
protected  void addCompileSourceRoot(org.apache.maven.project.MavenProject project, String dir)
           
protected  Set<String> getClasspathElements(Set<String> result)
           
 File getDefaultOutputDirectory()
           
protected  File getOutputClassDirectory()
           
protected  String[] getProcessors()
           
 
Methods inherited from class org.mule.devkit.maven.AbstractAnnotationProcessorMojo
execute
 
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
 

Field Detail

LICENSE_DESCRIPTOR_FILE_NAME

public static final String LICENSE_DESCRIPTOR_FILE_NAME
See Also:
Constant Field Values
Constructor Detail

AnnotationProcessorMojo

public AnnotationProcessorMojo()
Method Detail

getOutputClassDirectory

protected File getOutputClassDirectory()
Specified by:
getOutputClassDirectory in class AbstractAnnotationProcessorMojo

getProcessors

protected String[] getProcessors()
Specified by:
getProcessors in class AbstractAnnotationProcessorMojo

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

getClasspathElements

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

addCompilerArguments

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


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