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 as a site report, and publish it to a website.

Many Maven plugins use the Site feature to generate project documentation. In fact, Maven itself uses the Site plugin to generate its website.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.157.34