This plugin produces a nicely formatted metrics report based on your project.
This plugin uses the JDepend library in version 2.9.1 to fulfill it's purposes.
Instructions on how to use the JDepend Maven Plugin can be found on the usage page.
To provide you with better understanding of some usages of the JDepend Maven Plugin, you can take a look into the following example: