The hub-reporting-common library supplies convenient creation of Risk Report files.
You can download the latest release from Maven Central.
All documentation for hub-reporting-common can be found on the base project: https://github.com/blackducksoftware/hub-reporting-common/wiki