org.apache.maven.plugins.site
Class SiteJarMojo

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.AbstractSiteRenderingMojo
              extended by org.apache.maven.plugins.site.SiteMojo
                  extended by org.apache.maven.plugins.site.SiteJarMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class SiteJarMojo
extends SiteMojo

Bundles the site output into a JAR so that it can be deployed to a repository.

Since:
2.0-beta-6
Version:
$Id: SiteJarMojo.html 816561 2012-05-08 12:02:24Z hboutemy $
Author:
Matthew Beermann
Is defined by the goal name:
jar
Is bound to the specified phase of the standard build lifecycle:
package

Field Summary
 
Fields inherited from class org.apache.maven.plugins.site.SiteMojo
outputDirectory
 
Fields inherited from class org.apache.maven.plugins.site.AbstractSiteRenderingMojo
generatedSiteDirectory, reports, siteRenderer
 
Fields inherited from class org.apache.maven.plugins.site.AbstractSiteMojo
i18n, locales, localRepository, project, reactorProjects, siteDirectory, siteTool
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SiteJarMojo()
           
 
Method Summary
 void execute()
           Generate the project site

throws MojoExecutionException if any

protected  String getArtifactType()
           
protected  String getClassifier()
           
 
Methods inherited from class org.apache.maven.plugins.site.AbstractSiteRenderingMojo
categoriseReports, createSiteRenderingContext, filterReports, locateDocuments, locateReports, populateReportItems
 
Methods inherited from class org.apache.maven.plugins.site.AbstractSiteMojo
checkMavenVersion, getInputEncoding, getMavenVersion, getOutputEncoding
 
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 Detail

SiteJarMojo

public SiteJarMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Description copied from class: SiteMojo
Generate the project site

throws MojoExecutionException if any

Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class SiteMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
See Also:
Mojo.execute()

getArtifactType

protected String getArtifactType()

getClassifier

protected String getClassifier()


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