Chapter 7. Reporting and Documentation

In this chapter, we will see how we can use the Maven Site plugin, as well as configure various reports on a site. We will cover the following recipes:

  • Documenting with the Maven Site plugin
  • Generating Javadocs for a site
  • Generating source cross-reference for a site
  • Generating unit test reports for a site
  • Generating code coverage reports for a site
  • Generating code quality reports for a site
  • Generating selective reports
  • Deploying a site

Introduction

One of the most powerful features of Maven is the ability to create documentation for the project. It is useful to have a self-documenting project that can be published to a website without additional effort. Maven provides the ability to generate this documentation, known ...

Get Apache Maven Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.