@Mojo(name="generate",
defaultPhase=COMPILE,
requiresDependencyResolution=COMPILE)
public class ParanamerGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and 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 and Description |
---|
ParanamerGeneratorMojo() |
Modifier and Type | Method and 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–2016. All rights reserved.