@Mojo(name="site", requiresDependencyResolution=TEST, requiresReports=true) public class SiteMojo extends AbstractSiteRenderingMojo
Note that links between module sites in a multi module build will not work.
Modifier and Type | Field and Description |
---|---|
protected File |
outputDirectory
Directory where the project sites and report distributions will be generated.
|
generatedSiteDirectory, mavenSession, reports, siteRenderer
i18n, locales, localRepository, project, reactorProjects, siteDirectory, siteTool
Constructor and Description |
---|
SiteMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Generate the project site
throws MojoExecutionException if any
|
categoriseReports, contextualize, createSiteRenderingContext, getReports, locateDocuments, locateReports, populateReportItems
getInputEncoding, getMavenVersion, getOutputEncoding, isMaven3OrMore
@Parameter(property="siteOutputDirectory", defaultValue="${project.reporting.outputDirectory}") protected File outputDirectory
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Mojo.execute()
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.