Class AbstractInhabitantsGeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jvnet.hk2.generator.maven.AbstractInhabitantsGeneratorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
InhabitantsGeneratorMojo, TestInhabitantsGeneratorMojo
public abstract class AbstractInhabitantsGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo
Abstract Mojo for inhabitant generator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.maven.project.MavenProjectThe maven project.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
project
@Parameter(property="project", required=true, readonly=true) protected org.apache.maven.project.MavenProject projectThe maven project.
-
-
Constructor Details
-
AbstractInhabitantsGeneratorMojo
public AbstractInhabitantsGeneratorMojo()
-
-
Method Details
-
getNoSwap
protected abstract boolean getNoSwap() -
getOutputDirectory
-
isWar
protected boolean isWar() -
execute
public void execute() throws org.apache.maven.plugin.MojoFailureExceptionThis method will compile the inhabitants file based on the classes just compiled- Throws:
org.apache.maven.plugin.MojoFailureException
-