snippetbashTip
mvn site — Generate a project website based on the information in the `pom.xml` file. More information: <https:
Viewed 0 times
thewebsitecommandclimvn sitebasedgenerateproject
Problem
How to use the
mvn site command: Generate a project website based on the information in the pom.xml file. More information: <https://maven.apache.org/plugins/maven-site-plugin/usage.html>.Solution
mvn site — Generate a project website based on the information in the pom.xml file. More information: <https://maven.apache.org/plugins/maven-site-plugin/usage.html>.Generate a project site using the site plugin:
mvn siteGenerate 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 siteSkip tests while generating the site:
mvn site {{[-D|--define]}} skipTestsGenerate and deploy the site to the remote server:
mvn site-deployCode Snippets
Generate a project site using the site plugin
mvn siteGenerate 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 siteSkip tests while generating the site
mvn site {{[-D|--define]}} skipTestsGenerate and deploy the site to the remote server
mvn site-deployContext
tldr-pages: common/mvn site
Revisions (0)
No revisions yet.