LinuxCommandLibrary

mvn-site

generates project documentation website

TLDR

Generate project site

$ mvn site
copy
Generate and deploy site
$ mvn site-deploy
copy
Generate site in specific directory
$ mvn site -DoutputDirectory=[docs]
copy
Run site with reports
$ mvn site -DgenerateReports=true
copy
Stage site locally
$ mvn site:stage
copy
Clean and regenerate
$ mvn clean site
copy

SYNOPSIS

mvn site [options]

DESCRIPTION

mvn site generates project documentation website. It creates HTML from project metadata.
The goal produces reports, JavaDocs, and info pages. Configured via pom.xml reporting section.

PARAMETERS

site

Generate project website.
site-deploy
Deploy site to server.
site:stage
Stage site locally.
-DoutputDirectory DIR
Output location.
-DgenerateReports BOOL
Include reports.
--help
Display help information.

CAVEATS

Requires site configuration. Heavy dependency download. Plugins control content.

HISTORY

The Maven Site Plugin is part of Apache Maven for generating project documentation sites.

SEE ALSO

mvn(1), javadoc(1), jekyll(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community