aboutcode-org / aboutcode-org/scancode.io

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

Open
#652 2 comments 0 reactions 1 assignee Assigned to @AyanSinhaMahapatra View on GitHub
low priority
Dominant language
Python
Stars
215
Forks
203
Avg merge
4d 8h
Merged PRs (30d)
6

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.