Package org.jvnet.hk2.generator.maven
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 String
private boolean
private String
protected org.apache.maven.project.MavenProject
The maven project.private String
private File
private boolean
private static final String
private static final String
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
-
WAR_PACKAGING
- See Also:
-
WEB_INF
- See Also:
-
CLASSES
- See Also:
-
targetDirectory
-
project
protected org.apache.maven.project.MavenProject projectThe maven project. -
verbose
private boolean verbose -
includeDate
private boolean includeDate -
locator
-
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
-