Package org.codehaus.modello.maven
Class ModelloStaxReaderMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.modello.maven.AbstractModelloGeneratorMojo
org.codehaus.modello.maven.AbstractModelloSourceGeneratorMojo
org.codehaus.modello.maven.ModelloStaxReaderMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="stax-reader",
defaultPhase=GENERATE_SOURCES,
threadSafe=true)
public class ModelloStaxReaderMojo
extends AbstractModelloSourceGeneratorMojo
Creates an StAX reader from the model.
- 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 StringMethods inherited from class org.codehaus.modello.maven.AbstractModelloSourceGeneratorMojo
getOutputDirectory, producesCompilableResult, setOutputDirectoryMethods inherited from class org.codehaus.modello.maven.AbstractModelloGeneratorMojo
createParameters, execute, getBasedir, getModels, getPackageWithVersion, getProject, getVersion, producesResources, setBasedir, setModels, setPackagedVersions, setPackageWithVersion, setProject, setVersionMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ModelloStaxReaderMojo
@Inject public ModelloStaxReaderMojo(org.codehaus.modello.core.ModelloCore modelloCore)
-
-
Method Details
-
getGeneratorType
- Specified by:
getGeneratorTypein classAbstractModelloGeneratorMojo
-
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 classAbstractModelloSourceGeneratorMojo- Parameters:
parameters- the parameters to customize
-