@Mojo(name="generate",
defaultPhase=COMPILE,
requiresDependencyResolution=COMPILE)
public class ParanamerGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field | Description |
---|---|---|
protected String |
outputDirectory |
The directory where the Paranamer generator will write the output
|
static String |
skipProp |
THe system property name, which if set, will skip execution of this mojo
|
protected String |
sourceDirectory |
The directory containing the Java source files
|
Constructor | Description |
---|---|
ParanamerGeneratorMojo() |
Modifier and Type | Method | Description |
---|---|---|
void |
execute() |
|
boolean |
skip() |
Determines if the skip property is set
|
public static final String skipProp
@Parameter(defaultValue="${project.build.sourceDirectory}", required=true) protected String sourceDirectory
@Parameter(defaultValue="${project.build.outputDirectory}", required=true) protected String outputDirectory
public boolean skip()
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2007–2019. All rights reserved.