aboutcode-org / aboutcode-org/scancode-toolkit

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

未关闭
#1,525 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement good first issue license scan package scan
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

### 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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