aboutcode-org / aboutcode-org/scancode.io

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

Aperta
#652 2 commenti 0 reazioni 1 assegnatario Assegnata a @AyanSinhaMahapatra Vedi su GitHub
low priority
Lingua principale
Python
Stelle
215
Fork
203
Merge medio
4g 8h
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.