Class ModelloXdocMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.modello.maven.AbstractModelloGeneratorMojo
org.codehaus.modello.maven.ModelloXdocMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="xdoc",
threadSafe=true)
public class ModelloXdocMojo
extends AbstractModelloGeneratorMojo
Creates documentation for the model in xdoc format.
- Author:
- Brett Porter
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcustomizeParameters(Map<String, Object> parameters) Override this method to customize the values in the properties set.protected Stringprotected booleanvoidsetFirstVersion(String firstVersion) voidsetOutputDirectory(File outputDirectory) Methods inherited from class AbstractModelloGeneratorMojo
createParameters, execute, getBasedir, getModelloCore, getModels, getPackageWithVersion, getProject, getVersion, producesResources, setBasedir, setBuildContext, setModelloCore, setModels, setPackagedVersions, setPackageWithVersion, setProject, setVersionMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ModelloXdocMojo
public ModelloXdocMojo()
-
-
Method Details
-
getGeneratorType
- Specified by:
getGeneratorTypein classAbstractModelloGeneratorMojo
-
producesCompilableResult
protected boolean producesCompilableResult()- Overrides:
producesCompilableResultin classAbstractModelloGeneratorMojo
-
getOutputDirectory
- Specified by:
getOutputDirectoryin classAbstractModelloGeneratorMojo
-
setOutputDirectory
-
customizeParameters
Description copied from class:AbstractModelloGeneratorMojoOverride this method to customize the values in the properties set.This method will be called after the parameters have been populated with the parameters in the abstract mojo.
- Overrides:
customizeParametersin classAbstractModelloGeneratorMojo- Parameters:
parameters- the parameters to customize
-
getFirstVersion
-
setFirstVersion
-