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 TypeFieldDescriptionprivate static final Stringprivate booleanprivate Stringprotected org.apache.maven.project.MavenProjectThe maven project.private Stringprivate Fileprivate booleanprivate static final Stringprivate static final StringFields 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
-
WAR_PACKAGING
- See Also:
-
WEB_INF
- See Also:
-
CLASSES
- See Also:
-
targetDirectory
-
project
@Parameter(property="project", required=true, readonly=true) protected org.apache.maven.project.MavenProject projectThe maven project. -
verbose
@Parameter private boolean verbose -
includeDate
@Parameter(defaultValue="true") private boolean includeDate -
locator
-
supportedProjectTypes
@Parameter(property="supportedProjectTypes", defaultValue="jar,ejb,war") private String supportedProjectTypes
-
-
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
-
getBuildClasspath
-