License
data class License(val name: String, val url: String?, val year: String? = null, val spdxId: String? = null, val licenseContent: String? = null, val hash: String)
Describes a complete License element. Either retrieved from spdx or downloaded from the artifacts repo
Parameters
name
of the given license
url
linking to the hosted form of this license
year
if available for this license (not contained in the pom.xml)
spdx Id
for this library, if it is a standard library available
license Content
contains the whole license content as downloaded from the server
hash
usually calculated to identify if a license is re-used and can be used for multiple artifacts