org.apache.maven.plugin.plugin
Class HelpGeneratorMojo

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

public class HelpGeneratorMojo
extends AbstractGeneratorMojo

Generates a HelpMojo class.

Since:
2.4
Version:
$Id: HelpGeneratorMojo.java 1050558 2010-12-18 00:46:38Z bentmann $
Author:
Vincent Siveton

Field Summary
protected  java.io.File outputDirectory
          The directory where the generated HelpMojo file will be put.
 
Fields inherited from class org.apache.maven.plugin.plugin.AbstractGeneratorMojo
encoding, extractors, goalPrefix, mojoScanner, project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
HelpGeneratorMojo()
           
 
Method Summary
protected  Generator createGenerator()
          
 void execute()
          
protected  java.io.File getOutputDirectory()
          
 
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 Detail

outputDirectory

protected java.io.File outputDirectory
The directory where the generated HelpMojo file will be put.

Constructor Detail

HelpGeneratorMojo

public HelpGeneratorMojo()
Method Detail

getOutputDirectory

protected java.io.File getOutputDirectory()

Specified by:
getOutputDirectory in class AbstractGeneratorMojo
Returns:
the output directory where files will be generated.

createGenerator

protected Generator createGenerator()

Specified by:
createGenerator in class AbstractGeneratorMojo
Returns:
the wanted Generator implementation.

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException

Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class AbstractGeneratorMojo
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.