O'Reilly logo

Apache Maven Cookbook by Raghuram Bharathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Reporting for multi-module projects

When we talk about generating a site report for a multi-module project, we refer to generating this for each module of the project and the parent project. In the case of the site report for a multi-module project, a couple of factors need to be taken into account. The first one is to test if the links between the parent and the modules work correctly. The other is to check if certain site reports can be aggregated instead of being reported individually for each module.

How to do it...

  1. Open a multi-module project (two-multi-module) with two modules, one and two.
  2. Add the following command to the reporting section of the parent pom for checkstyle:
     <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required