Create an OSS inventory

To create an OSS inventory means to report on the overall bill of material of used OSS and corresponding licenses. Within the parent project, run the following maven goal from command line.

$ mvn license:aggregate-download-licenses -Dlicense.excludedScopes=test,provided

Running the aggregate-download-licenses goal creates two results.

  1. a license.xml that contains all used OSS dependencies (even sub-dependencies) with respective license information

  2. puts all used OSS-license-texts as html files into folder target/generated resources

Carefully validate and judge the outcome of the license list. It is recommended to copy the license.xml to the project documentation and hand it over to your client. You may also import it into a spreadsheet to get a better overview.

Last updated 2023-11-20 10:37:01 UTC