Full name:
org.apache.maven.plugins:maven-site-plugin:3.4:site
Description:
Note that links between module sites in a multi module build will not work, since local build directory structure doesn't match deployed site.
Attributes:
Name | Type | Since | Description |
---|---|---|---|
attributes | Map | - | Additional template properties for rendering the site. See Doxia Site
Renderer. |
generateProjectInfo | boolean | 2.3 | Whether to generate the summary page for project reports:
project-info.html. Default value is: true. User property is: generateProjectInfo. |
generateReports | boolean | - | Convenience parameter that allows you to disable report generation. Default value is: true. User property is: generateReports. |
generateSitemap | boolean | 2.1 | Generate a sitemap. The result will be a "sitemap.html" file at the
site root. Default value is: false. User property is: generateSitemap. |
generatedSiteDirectory | File | - | Directory containing generated documentation. This is used to pick
up other source docs that might have been generated at build time. Default value is: ${project.build.directory}/generated-site. |
inputEncoding | String | 2.3 | Specifies the input encoding. Default value is: ${project.build.sourceEncoding}. User property is: encoding. |
locales | String | 2.3 | A comma separated list of locales supported by Maven. The first
valid token will be the default Locale for this instance of the
Java Virtual Machine. User property is: locales. |
mavenSession | MavenSession | - | The current Maven session. Default value is: ${session}. |
moduleExcludes | Map | - | Module type exclusion mappings ex: fml ->
**/*-m1.fml (excludes fml files ending in '-m1.fml'
recursively) The configuration looks like this:
<moduleExcludes> <moduleType>filename1.ext,**/*sample.ext</moduleType> <!-- moduleType can be one of 'apt', 'fml' or 'xdoc'. --> <!-- The value is a comma separated list of --> <!-- filenames or fileset patterns. --> <!-- Here's an example: --> <xdoc>changes.xml,navigation.xml</xdoc> </moduleExcludes> |
outputDirectory | File | - | Directory where the project sites and report distributions will be
generated. Default value is: ${project.reporting.outputDirectory}. User property is: siteOutputDirectory. |
outputEncoding | String | 2.3 | Specifies the output encoding. Default value is: ${project.reporting.outputEncoding}. User property is: outputEncoding. |
relativizeDecorationLinks | boolean | 2.3 | Make links in the site descriptor relative to the project URL. By
default, any absolute links that appear in the site descriptor,
e.g. banner hrefs, breadcrumbs, menu links, etc., will be made
relative to project.url. Links will not be changed if this is set
to false, or if the project has no URL defined. Default value is: true. User property is: relativizeDecorationLinks. |
siteDirectory | File | 2.3 | Directory containing the site.xml file and the source for apt, fml
and xdoc docs. Default value is: ${basedir}/src/site. |
skip | boolean | 3.0 | Set this to 'true' to skip site generation and staging. Default value is: false. User property is: maven.site.skip. |
template | String | - | Deprecated. use templateFile or skinning instead User property is: template. |
templateDirectory | File | - | Deprecated. use templateFile or skinning instead Default value is: src/site. User property is: templateDirectory. |
templateFile | File | 2.0-beta-5 | The location of a Velocity template file to use. When used, skins
and the default templates, CSS and images are disabled. It is
highly recommended that you package this as a skin instead. User property is: templateFile. |
validate | boolean | 2.1.1 | Whether to validate xml input documents. If set to true,
all input documents in xml format (in particular
xdoc and fml) will be validated and any error will lead to a build
failure. Default value is: false. User property is: validate. |
xdocDirectory | File | - | Deprecated. use the standard m2 directory layout Default value is: ${basedir}/xdocs. |
<moduleExcludes> <moduleType>filename1.ext,**/*sample.ext</moduleType> <!-- moduleType can be one of 'apt', 'fml' or 'xdoc'. --> <!-- The value is a comma separated list of --> <!-- filenames or fileset patterns. --> <!-- Here's an example: --> <xdoc>changes.xml,navigation.xml</xdoc> </moduleExcludes>
skip: