File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -297,6 +297,7 @@ class SpdxReporter(val dest: File) : ReportRenderer {
297297 " The Apache License, Version 2.0" to " Apache-2.0" ,
298298 " Apache License, Version 2.0" to " Apache-2.0" ,
299299 " The Apache Software License, Version 2.0" to " Apache-2.0" ,
300+ " MIT License" to " MIT" ,
300301 " BSD Zero Clause License" to " 0BSD" ,
301302 " Eclipse Public License 2.0" to " EPL-2.0" ,
302303 " Eclipse Public License v. 2.0" to " EPL-2.0" ,
@@ -323,7 +324,11 @@ class SpdxReporter(val dest: File) : ReportRenderer {
323324 val depName = dep.group + " :" + dep.name
324325
325326 val info = LicenseDataCollector .multiModuleLicenseInfo(dep)
326- val depUrl = info.moduleUrls.first()
327+ val depUrl = if (depName.startsWith(" org.apache.httpcomponents" )) {
328+ " https://hc.apache.org/"
329+ } else {
330+ info.moduleUrls.first()
331+ }
327332
328333 val licenseIds = info.licenses.mapNotNull { license ->
329334 license.name?.let {
You can’t perform that action at this time.
0 commit comments