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:
ContextEnabled, Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

@Mojo(name="jar",
      defaultPhase=PACKAGE,
      requiresReports=true)
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 861484 2013-05-09 23:10:16Z hboutemy $
Author:
Matthew Beermann

Field Summary
 
Fields inherited from class org.apache.maven.plugins.site.SiteMojo
outputDirectory
 
Fields inherited from class org.apache.maven.plugins.site.AbstractSiteRenderingMojo
generatedSiteDirectory, mavenSession, 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, contextualize, createSiteRenderingContext, getReports, locateDocuments, locateReports, populateReportItems
 
Methods inherited from class org.apache.maven.plugins.site.AbstractSiteMojo
getInputEncoding, getMavenVersion, getOutputEncoding, isMaven3OrMore
 
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 MojoExecutionException,
                    MojoFailureException
Description copied from class: SiteMojo
Generate the project site

throws MojoExecutionException if any

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

getArtifactType

protected String getArtifactType()

getClassifier

protected String getClassifier()


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