aboutcode-org / aboutcode-org/scancode-toolkit

For Maven declared_license normalization, also consider all text at once as well as POM XML comments

Aperta
#1,525 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement good first issue license scan package scan
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

### Description
The licenses tags in a Maven POM are normalized using license tags in the XML but we ignore XML-wide comments. It si common in POMs to have a license in an XML top-level comment. Licenses in POM XML comments would be caught by the plain text detection alright but we want then in the package licenses instead.

We should enhance this by:
1. Looking at the text made of lines of (name, url, comments)
2. Considering the XML comments in the package normalization too
3

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.