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 {
297
297
" The Apache License, Version 2.0" to " Apache-2.0" ,
298
298
" Apache License, Version 2.0" to " Apache-2.0" ,
299
299
" The Apache Software License, Version 2.0" to " Apache-2.0" ,
300
+ " MIT License" to " MIT" ,
300
301
" BSD Zero Clause License" to " 0BSD" ,
301
302
" Eclipse Public License 2.0" to " EPL-2.0" ,
302
303
" Eclipse Public License v. 2.0" to " EPL-2.0" ,
@@ -323,7 +324,11 @@ class SpdxReporter(val dest: File) : ReportRenderer {
323
324
val depName = dep.group + " :" + dep.name
324
325
325
326
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
+ }
327
332
328
333
val licenseIds = info.licenses.mapNotNull { license ->
329
334
license.name?.let {
You can’t perform that action at this time.
0 commit comments