org.apache.maven.plugin.plugin
Class XdocGeneratorMojo

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.XdocGeneratorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class XdocGeneratorMojo
extends AbstractGeneratorMojo

Generate Xdoc files for the project mojos or goals.

Since:
2.0
Version:
$Id: XdocGeneratorMojo.java 670417 2008-06-22 21:34:27Z dennisl $
Author:
Brett Porter
Is defined by the goal name:
xdoc

Field Summary
protected  File outputDirectory
          The directory where the generated Xdoc files will be put.
 
Fields inherited from class org.apache.maven.plugin.plugin.AbstractGeneratorMojo
dependencies, encoding, extractors, goalPrefix, local, mojoScanner, project, remoteRepos, skip, skipErrorNoDescriptorsFound
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
XdocGeneratorMojo()
           
 
Method Summary
protected  Generator createGenerator()
          
protected  File getOutputDirectory()
          
 
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 Detail

outputDirectory

protected File outputDirectory
The directory where the generated Xdoc files will be put.

Is defined by:
default-value:
${project.build.directory}/generated-site/xdoc
Constructor Detail

XdocGeneratorMojo

public XdocGeneratorMojo()
Method Detail

getOutputDirectory

protected 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.


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.