org.apache.maven.plugins.site
Class SiteMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugins.site.AbstractSiteMojo
          extended by org.apache.maven.plugins.site.SiteMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
SiteStageMojo

public class SiteMojo
extends AbstractSiteMojo

Generates the project site.

Version:
$Id: SiteMojo.java 381482 2006-02-27 23:16:22Z vsiveton $
Author:
Emmanuel Venisse, Vincent Siveton

Field Summary
protected  java.io.File outputDirectory
          Directory containing the generated project sites and report distributions.
protected  org.apache.maven.project.MavenProject project
          The maven project.
protected  java.util.List reactorProjects
          The reactor projects.
 
Fields inherited from class org.apache.maven.plugins.site.AbstractSiteMojo
i18n, siteDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SiteMojo()
           
 
Method Summary
 void execute()
          Generate the project site

throws MojoExecutionException if any

 
Methods inherited from class org.apache.maven.plugins.site.AbstractSiteMojo
getSiteDescriptorFile, initLocalesList
 
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
Directory containing the generated project sites and report distributions.


project

protected org.apache.maven.project.MavenProject project
The maven project.


reactorProjects

protected java.util.List reactorProjects
The reactor projects.

Constructor Detail

SiteMojo

public SiteMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Generate the project site

throws MojoExecutionException if any

Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
See Also:
Mojo.execute()


Copyright © {inceptionYear}-2010 Apache Software Foundation. All Rights Reserved.