Class HelpGeneratorMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.plugin.AbstractGeneratorMojo
org.apache.maven.plugin.plugin.HelpGeneratorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

Generates a HelpMojo class. Relies at runtime on one output file from DescriptorGeneratorMojo.
Since:
2.4
Author:
Vincent Siveton
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected File
    The directory where the generated HelpMojo file will be put.

    Fields inherited from class org.apache.maven.plugin.plugin.AbstractGeneratorMojo

    goalPrefix, LS, project

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    HelpGeneratorMojo(org.apache.maven.project.MavenProject project, org.codehaus.plexus.velocity.VelocityComponent velocity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    Methods inherited from class org.apache.maven.plugin.plugin.AbstractGeneratorMojo

    execute

    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
  • Field Details

  • Constructor Details

    • HelpGeneratorMojo

      @Inject public HelpGeneratorMojo(org.apache.maven.project.MavenProject project, org.codehaus.plexus.velocity.VelocityComponent velocity)
  • Method Details

    • generate

      protected void generate() throws org.apache.maven.plugin.MojoExecutionException
      Specified by:
      generate in class AbstractGeneratorMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException