commands.sh

mvn site

all

Generate a project website based on the information in the `pom.xml` file.

More info →

Options (2)

--projectsboolean

Generate a site for a specific Maven project (multi-module build)

Example: mvn site {{[-pl|--projects]}} {{module_name}}
-D, --defineboolean

Skip tests while generating the site

Example: mvn site {{[-D|--define]}} skipTests

Examples (5)

Generate a project site using the site plugin

Generate a site for a specific Maven project (multi-module build)

mvn site [-pl|--projects] module_name

Clean previous site output before generating a new one

mvn clean site

Skip tests while generating the site

mvn site [-D|--define] skipTests

Generate and deploy the site to the remote server

mvn site-deploy
made by @shridhargupta | data from tldr-pages