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.
a license.xml that contains all used OSS dependencies (even sub-dependencies) with respective license information
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.