aboutcode-org / aboutcode-org/scancode.io

Handle identified JAR Packages from `pkg:osgi/` and `pkg:jar/` to `pkg:maven/`

未关闭
#1,456 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
215
派生
203
平均合并
4 天 8 小时
30 天内合并 PR
6

描述

Certain jar packages are identified as `pkg:osgi/` or `pkg:jar/` instead of `pkg:maven/`.

For example:

* purl: pkg:osgi/org.eclipse.sisu.plexus@0.3.5
name: org.eclipse.sisu.plexus-0.3.5.jar
download_url: https://repo1.maven.org/maven2/org/eclipse/sisu/org.eclipse.sisu.plexus/0.3.5/org.eclipse.sisu.plexus-0.3.5.jar

* purl: pkg:jar/spring-aop@6.0.18
name: spring-aop-6.0.18.jar
download_url: https://repo1.maven.org/maven2/org/springframework/spring-aop/6.0.18/spring-aop-6.0.18.jar

This discrepancy may arise because these jars lack a pom.xml file.
However, from the VCIO perspective, the purl should be converted to `pkg:maven/`
i.e.
```
pkg:maven/org.eclipse.sisu/org.eclipse.sisu.plexus@0.3.5
pkg:maven/org.springframework/spring-aop@6.0.18
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。