This plugin consists of several reports that you can run selectively, individually or even run all of them. Please see below for instructions on how to configure your pom.xml to do this.
To include all Project Info Reports in your project, you must configure your pom.xml. Use "mvn site:site" to generate the configured reports.
<project> ... <reporting> ... <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </plugin> </plugins> ... <reporting> ... </project>
To run the reports selectively, you can configure it to include only the reports that you prefer. Use "mvn site:site" to generate the selected reports.
<project> ... <reporting> ... <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <reportSets> <reportSet> <reports> <report>dependencies</report> <report>project-team</report> <report>mailing-list</report> <report>cim</report> <report>issue-tracking</report> <report>license</report> <report>scm</report> </reports> </reportSet> </reportSets> </plugin> </plugins> ... <reporting> ... </project>
How to run the reports directly without configuring anything from the pom.xml?
Report Name | Command Line |
Dependencies Report | mvn project-info-reports:dependencies |
Mailing Lists | mvn project-info-reports:mailing-list |
Continous Integration | mvn project-info-reports:cim |
Source Repository | mvn project-info-reports:scm |
Issue Tracking | mvn project-info-reports:issue-tracking |
Project Team | mvn project-info-reports:project-team |
License | mvn project-info-reports:license |
For full documentation, click here.