aboutcode-org / aboutcode-org/scancode.io

Improve "scan_package" or "scan_codebase" pipelines to improve the analysis of a single Java JAR

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

描述

Here are some specifics about JARs:
1. They have a well defined structure with a META-INF root directory, MANIFEST.MF Java properties file
1. They may contain other conventionally located manifest such as a POM in /META-INF/maven///pom.xml and pom.properties but these may depend on other POMs (parent and property files)
1. MANIFEST.MF can contain extra details for OSGi (and an OSGI-INF directory)
1. They often lack details on origin and license
1. The Maven source JAR of a binary JAR is often not the exact corresponding source code, meaning that the source is often elsewhere in a version control repository and this may demand to flow scan details (origin, license, dependency) from the source repo to the binary, but there is not enforced convention to always include the source repo addresses.
1. There is no well defined license documentation convention such as using SPDX expressions
1. There is no well defined place to document dependencies, as this is often handled by plugins instead, meaning that evaluating dependencies is difficult short of using a Java package management tool
1. They are mostly written in Java, but there are many other popular languages that run on the JVM

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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