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
Fields Modifier and Type Field Description private static java.lang.String
CLASSES
private boolean
includeDate
private java.lang.String
locator
protected org.apache.maven.project.MavenProject
project
The maven project.private java.lang.String
supportedProjectTypes
private java.io.File
targetDirectory
private boolean
verbose
private static java.lang.String
WAR_PACKAGING
private static java.lang.String
WEB_INF
-
Constructor Summary
Constructors Constructor Description AbstractInhabitantsGeneratorMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
execute()
This method will compile the inhabitants file based on the classes just compiledprivate java.lang.String
getBuildClasspath()
protected abstract boolean
getNoSwap()
protected abstract java.io.File
getOutputDirectory()
protected boolean
isWar()
-
-
-
Field Detail
-
WAR_PACKAGING
private static final java.lang.String WAR_PACKAGING
- See Also:
- Constant Field Values
-
WEB_INF
private static final java.lang.String WEB_INF
- See Also:
- Constant Field Values
-
CLASSES
private static final java.lang.String CLASSES
- See Also:
- Constant Field Values
-
targetDirectory
private java.io.File targetDirectory
-
project
protected org.apache.maven.project.MavenProject project
The maven project.
-
verbose
private boolean verbose
-
includeDate
private boolean includeDate
-
locator
private java.lang.String locator
-
supportedProjectTypes
private java.lang.String supportedProjectTypes
-
-
Method Detail
-
getNoSwap
protected abstract boolean getNoSwap()
-
getOutputDirectory
protected abstract java.io.File getOutputDirectory()
-
isWar
protected boolean isWar()
-
execute
public void execute() throws org.apache.maven.plugin.MojoFailureException
This method will compile the inhabitants file based on the classes just compiled- Throws:
org.apache.maven.plugin.MojoFailureException
-
getBuildClasspath
private java.lang.String getBuildClasspath()
-
-