public abstract class AbstractDelombokMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
addOutputDirectory
Add output directory flag.
|
protected String |
encoding
Encoding.
|
protected Map<String,String> |
formatPreferences
Formatting preferences.
|
protected org.apache.maven.plugin.descriptor.PluginDescriptor |
pluginDescriptor |
protected org.apache.maven.project.MavenProject |
project
The Maven project to act upon.
|
protected boolean |
skip
Specifies whether the delombok generation should be skipped.
|
protected boolean |
verbose
Verbose flag.
|
| Constructor and Description |
|---|
AbstractDelombokMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addSourceRoot(String path) |
void |
execute() |
protected abstract String |
getGoalDescription() |
protected abstract File |
getOutputDirectory() |
protected abstract File |
getSourceDirectory() |
protected abstract String |
getSourcePath() |
@Parameter(property="lombok.delombok.skip",
defaultValue="false",
required=true)
protected boolean skip
@Parameter(property="lombok.encoding",
defaultValue="${project.build.sourceEncoding}",
required=true)
protected String encoding
@Parameter(property="lombok.verbose",
defaultValue="false",
required=true)
protected boolean verbose
@Parameter(property="lombok.addOutputDirectory",
defaultValue="true",
required=true)
protected boolean addOutputDirectory
@Parameter(property="project",
required=true,
readonly=true)
protected org.apache.maven.project.MavenProject project
@Parameter(property="plugin",
required=true,
readonly=true)
protected org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor
protected abstract String getGoalDescription()
protected abstract File getOutputDirectory()
protected abstract File getSourceDirectory()
protected abstract String getSourcePath()
protected abstract void addSourceRoot(String path)
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2010–2018 Anthony Whitford. All rights reserved.