Building a license report.
There are several plugins available to create reports on which licenses are used by which third-party dependencies. These reports will list each dependency, version, license, and provide a link to the license.
The project-info-report plugin will generate a site directory containing a web based human readable report.
The license plugin will provide an XML file containing the information.
Running these reports requires a modified version of the draiver-build-dependency_thirdparty-maven pom.xml.
- Copy the existing pom.xml to another name, such as depreport_pom.xml.
- Delete the
<dependencyManagement>
tags, leaving the<dependencies>
section. - Delete the entire
<build>
section. - To produce the human readable report, run
mvn project-info-reports:dependencies -f depreport_pom.xml
- To produce the XML report, run
mvn license:download-licenses -f depreport_pom.xml