Class ModelloVelocityMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.modello.maven.AbstractModelloGeneratorMojo
org.codehaus.modello.plugin.velocity.ModelloVelocityMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="velocity",
defaultPhase=GENERATE_SOURCES,
threadSafe=true)
public class ModelloVelocityMojo
extends org.codehaus.modello.maven.AbstractModelloGeneratorMojo
Creates an XML schema from the model.
- Author:
- Brett Porter
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
customizeParameters
(Properties parameters) protected String
protected boolean
void
setOutputDirectory
(File outputDirectory) Methods inherited from class org.codehaus.modello.maven.AbstractModelloGeneratorMojo
createParameters, execute, getBasedir, getModelloCore, getModels, getPackageWithVersion, getProject, getVersion, producesResources, setBasedir, setBuildContext, setModelloCore, setModels, setPackagedVersions, setPackageWithVersion, setProject, setVersion
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ModelloVelocityMojo
public ModelloVelocityMojo()
-
-
Method Details
-
getGeneratorType
- Specified by:
getGeneratorType
in classorg.codehaus.modello.maven.AbstractModelloGeneratorMojo
-
customizeParameters
- Overrides:
customizeParameters
in classorg.codehaus.modello.maven.AbstractModelloGeneratorMojo
-
producesCompilableResult
protected boolean producesCompilableResult()- Overrides:
producesCompilableResult
in classorg.codehaus.modello.maven.AbstractModelloGeneratorMojo
-
getOutputDirectory
- Specified by:
getOutputDirectory
in classorg.codehaus.modello.maven.AbstractModelloGeneratorMojo
-
setOutputDirectory
-