How to Use

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.

Run All Reports

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>

Run Selective Reports

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>

Run Individual Report

How to run the reports directly without configuring anything from the pom.xml?

Report NameCommand Line
Dependencies Reportmvn project-info-reports:dependencies
Mailing Listsmvn project-info-reports:mailing-list
Continous Integrationmvn project-info-reports:cim
Source Repositorymvn project-info-reports:scm
Issue Trackingmvn project-info-reports:issue-tracking
Project Teammvn project-info-reports:project-team
Licensemvn project-info-reports:license

For full documentation, click here.