@Mojo(name="generate-sources",
defaultPhase=GENERATE_SOURCES,
requiresDependencyResolution=COMPILE)
public class AnnotationProcessorMojo
extends AbstractAnnotationProcessorMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
connectorJavadocs
Indicates the URL where the javadocs of the connector are located.
|
protected Boolean |
generateApidocs
Indicates whether or not to generate the connector apidocs.
|
static String |
LICENSE_DESCRIPTOR_FILE_NAME |
appDirectory, finalName, project, skipStudioPluginPackage, studioPackageTimeout, verboseEnabled| Constructor and Description |
|---|
AnnotationProcessorMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCompilerArguments(List<String> options) |
protected void |
addCompilerJavadocArgument(List<String> options) |
protected void |
addCompilerStudioPluginArgument(List<String> options) |
protected void |
addCompileSourceRoot(org.apache.maven.project.MavenProject project,
String dir) |
protected void |
addVerboseLoggingArguments(List<String> options) |
protected Set<String> |
getClasspathElements(Set<String> result) |
File |
getDefaultOutputDirectory() |
protected File |
getOutputClassDirectory() |
protected String[] |
getProcessors() |
executegetFilteredAppDirectory, getMuleZipFilepublic static final String LICENSE_DESCRIPTOR_FILE_NAME
@Parameter(required=false,
defaultValue="false",
property="generateApidocs")
protected Boolean generateApidocs
@Parameter(required=false,
defaultValue="",
property="connectorJavadocs")
protected String connectorJavadocs
protected File getOutputClassDirectory()
getOutputClassDirectory in class AbstractAnnotationProcessorMojoprotected String[] getProcessors()
getProcessors in class AbstractAnnotationProcessorMojoprotected void addCompileSourceRoot(org.apache.maven.project.MavenProject project,
String dir)
addCompileSourceRoot in class AbstractAnnotationProcessorMojopublic File getDefaultOutputDirectory()
getDefaultOutputDirectory in class AbstractAnnotationProcessorMojoprotected Set<String> getClasspathElements(Set<String> result)
getClasspathElements in class AbstractAnnotationProcessorMojoprotected void addCompilerArguments(List<String> options) throws org.apache.maven.plugin.MojoExecutionException
addCompilerArguments in class AbstractAnnotationProcessorMojoorg.apache.maven.plugin.MojoExecutionExceptionprotected void addCompilerStudioPluginArgument(List<String> options)
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.