Package org.apache.maven.plugin.plugin
Class AbstractGeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.plugin.AbstractGeneratorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
DescriptorGeneratorMojo
,HelpGeneratorMojo
Abstract class for this Plugin.
- Author:
- Jason van Zyl
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
The goal prefix that will appear before the ":".protected static final String
System/OS line separator: used to format console messages.protected org.apache.maven.project.MavenProject
The project currently being built.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
project
@Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject projectThe project currently being built. -
goalPrefix
The goal prefix that will appear before the ":". -
LS
System/OS line separator: used to format console messages.
-
-
Constructor Details
-
AbstractGeneratorMojo
public AbstractGeneratorMojo()
-
-
Method Details
-
generate
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
execute
- Throws:
org.apache.maven.plugin.MojoExecutionException
-