Site
Maven supports its own documentation generation tool, the Maven site. Which handled through the plugin of the same name.
To keep the project self contained, and take full advantage of Maven, it is recommended using this for generating the project's documentation.
Command
As some reports will require test results it is recommended running all the tests before generating the site:
mvn verify siteTo generate a test version of the site, useful for multimodule projects:
mvn verify site site:stageLast updated
Was this helpful?