public abstract class AbstractGeneratorMojo extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected String |
goalPrefix
The goal prefix that will appear before the ":".
|
protected static String |
LS
System/OS line separator: used to format console messages.
|
protected org.apache.maven.project.MavenProject |
project
The project currently being built.
|
Constructor and Description |
---|
AbstractGeneratorMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected abstract void |
generate() |
@Component protected org.apache.maven.project.MavenProject project
@Parameter protected String goalPrefix
public AbstractGeneratorMojo()
protected abstract void generate() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.