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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ModelloVelocityMojo

      public ModelloVelocityMojo()
  • Method Details

    • getGeneratorType

      protected String getGeneratorType()
      Specified by:
      getGeneratorType in class org.codehaus.modello.maven.AbstractModelloGeneratorMojo
    • customizeParameters

      protected void customizeParameters(Properties parameters)
      Overrides:
      customizeParameters in class org.codehaus.modello.maven.AbstractModelloGeneratorMojo
    • producesCompilableResult

      protected boolean producesCompilableResult()
      Overrides:
      producesCompilableResult in class org.codehaus.modello.maven.AbstractModelloGeneratorMojo
    • getOutputDirectory

      public File getOutputDirectory()
      Specified by:
      getOutputDirectory in class org.codehaus.modello.maven.AbstractModelloGeneratorMojo
    • setOutputDirectory

      public void setOutputDirectory(File outputDirectory)