From 8d8302677ed87ecdcf2d056a96c605908388869f Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Mon, 6 Nov 2023 15:16:52 +0530 Subject: [PATCH] Regen test expectations to fix failures Signed-off-by: Ayan Sinha Mahapatra --- .../0.9.0.4/c3p0-0.9.0.4.pom.package.json | 33 ++++++------------- ...-5.0.0alpha-200607201-119.pom.package.json | 33 ++++++------------- ...nate-annotations-3.2.1.ga.pom.package.json | 33 ++++++------------- ...nate-annotations-3.3.1.GA.pom.package.json | 33 ++++++------------- ...mons-annotations-3.0.0.ga.pom.package.json | 33 ++++++------------- ...te-entitymanager-3.2.1.ga.pom.package.json | 33 ++++++------------- ...te-entitymanager-3.3.2.GA.pom.package.json | 33 ++++++------------- .../hibernate-3.2.1.ga.pom.package.json | 33 ++++++------------- .../hibernate-3.2.6.ga.pom.package.json | 33 ++++++------------- 9 files changed, 90 insertions(+), 207 deletions(-) diff --git a/tests/packagedcode/data/m2/c3p0/c3p0/0.9.0.4/c3p0-0.9.0.4.pom.package.json b/tests/packagedcode/data/m2/c3p0/c3p0/0.9.0.4/c3p0-0.9.0.4.pom.package.json index 4ba64b51216..b5d2008511c 100644 --- a/tests/packagedcode/data/m2/c3p0/c3p0/0.9.0.4/c3p0-0.9.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/c3p0/c3p0/0.9.0.4/c3p0-0.9.0.4.pom.package.json @@ -22,40 +22,27 @@ "vcs_url": null, "copyright": null, "holder": null, - "declared_license_expression": "lgpl-2.0-plus", - "declared_license_expression_spdx": "LGPL-2.0-or-later", + "declared_license_expression": "lgpl-2.1-plus", + "declared_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ { - "license_expression": "lgpl-2.0-plus", + "license_expression": "lgpl-2.1-plus", "matches": [ { "score": 100.0, "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_87.RULE", - "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_87.RULE", - "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE" - }, - { - "score": 100.0, - "start_line": 2, "end_line": 2, - "matched_length": 6, + "matched_length": 14, "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_204.RULE", + "matcher": "1-hash", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_482.RULE", "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_204.RULE", - "matched_text": " url: http://www.gnu.org/licenses/lgpl.txt" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_482.RULE", + "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt" } ], - "identifier": "lgpl_2_0_plus-39338b95-daca-d7de-257c-fafb876cbd6d" + "identifier": "lgpl_2_1_plus-ed8ae0aa-72f2-2724-7f62-9efe4de451aa" } ], "other_license_expression": null, diff --git a/tests/packagedcode/data/m2/jboss/jboss-archive-browsing/5.0.0alpha-200607201-119/jboss-archive-browsing-5.0.0alpha-200607201-119.pom.package.json b/tests/packagedcode/data/m2/jboss/jboss-archive-browsing/5.0.0alpha-200607201-119/jboss-archive-browsing-5.0.0alpha-200607201-119.pom.package.json index b943e72142e..de9b09d8265 100644 --- a/tests/packagedcode/data/m2/jboss/jboss-archive-browsing/5.0.0alpha-200607201-119/jboss-archive-browsing-5.0.0alpha-200607201-119.pom.package.json +++ b/tests/packagedcode/data/m2/jboss/jboss-archive-browsing/5.0.0alpha-200607201-119/jboss-archive-browsing-5.0.0alpha-200607201-119.pom.package.json @@ -22,40 +22,27 @@ "vcs_url": null, "copyright": null, "holder": null, - "declared_license_expression": "lgpl-2.0-plus", - "declared_license_expression_spdx": "LGPL-2.0-or-later", + "declared_license_expression": "lgpl-2.1-plus", + "declared_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ { - "license_expression": "lgpl-2.0-plus", + "license_expression": "lgpl-2.1-plus", "matches": [ { "score": 100.0, "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_87.RULE", - "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_87.RULE", - "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE" - }, - { - "score": 100.0, - "start_line": 2, "end_line": 2, - "matched_length": 6, + "matched_length": 14, "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_204.RULE", + "matcher": "1-hash", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_482.RULE", "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_204.RULE", - "matched_text": " url: http://www.gnu.org/licenses/lgpl.txt" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_482.RULE", + "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt" } ], - "identifier": "lgpl_2_0_plus-39338b95-daca-d7de-257c-fafb876cbd6d" + "identifier": "lgpl_2_1_plus-ed8ae0aa-72f2-2724-7f62-9efe4de451aa" } ], "other_license_expression": null, diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.2.1.ga/hibernate-annotations-3.2.1.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.2.1.ga/hibernate-annotations-3.2.1.ga.pom.package.json index b1daad48292..40e4835c23c 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.2.1.ga/hibernate-annotations-3.2.1.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.2.1.ga/hibernate-annotations-3.2.1.ga.pom.package.json @@ -22,40 +22,27 @@ "vcs_url": null, "copyright": null, "holder": null, - "declared_license_expression": "lgpl-2.0-plus", - "declared_license_expression_spdx": "LGPL-2.0-or-later", + "declared_license_expression": "lgpl-2.1-plus", + "declared_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ { - "license_expression": "lgpl-2.0-plus", + "license_expression": "lgpl-2.1-plus", "matches": [ { "score": 100.0, "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_87.RULE", - "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_87.RULE", - "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE" - }, - { - "score": 100.0, - "start_line": 2, "end_line": 2, - "matched_length": 6, + "matched_length": 14, "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_204.RULE", + "matcher": "1-hash", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_482.RULE", "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_204.RULE", - "matched_text": " url: http://www.gnu.org/licenses/lgpl.txt" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_482.RULE", + "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt" } ], - "identifier": "lgpl_2_0_plus-39338b95-daca-d7de-257c-fafb876cbd6d" + "identifier": "lgpl_2_1_plus-ed8ae0aa-72f2-2724-7f62-9efe4de451aa" } ], "other_license_expression": null, diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.pom.package.json index b66cbab5ad1..47dde3c86a6 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.pom.package.json @@ -22,40 +22,27 @@ "vcs_url": null, "copyright": null, "holder": null, - "declared_license_expression": "lgpl-2.0-plus", - "declared_license_expression_spdx": "LGPL-2.0-or-later", + "declared_license_expression": "lgpl-2.1-plus", + "declared_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ { - "license_expression": "lgpl-2.0-plus", + "license_expression": "lgpl-2.1-plus", "matches": [ { "score": 100.0, "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_87.RULE", - "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_87.RULE", - "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE" - }, - { - "score": 100.0, - "start_line": 2, "end_line": 2, - "matched_length": 6, + "matched_length": 14, "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_204.RULE", + "matcher": "1-hash", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_482.RULE", "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_204.RULE", - "matched_text": " url: http://www.gnu.org/licenses/lgpl.txt" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_482.RULE", + "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt" } ], - "identifier": "lgpl_2_0_plus-39338b95-daca-d7de-257c-fafb876cbd6d" + "identifier": "lgpl_2_1_plus-ed8ae0aa-72f2-2724-7f62-9efe4de451aa" } ], "other_license_expression": null, diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.pom.package.json index 60cbd6796ba..ab82f5eaa96 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.pom.package.json @@ -22,40 +22,27 @@ "vcs_url": "scm:svn:http://anonsvn.jboss.org/repos/hibernate/commons-annotations", "copyright": null, "holder": null, - "declared_license_expression": "lgpl-2.0-plus", - "declared_license_expression_spdx": "LGPL-2.0-or-later", + "declared_license_expression": "lgpl-2.1-plus", + "declared_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ { - "license_expression": "lgpl-2.0-plus", + "license_expression": "lgpl-2.1-plus", "matches": [ { "score": 100.0, "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_87.RULE", - "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_87.RULE", - "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE" - }, - { - "score": 100.0, - "start_line": 2, "end_line": 2, - "matched_length": 6, + "matched_length": 14, "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_204.RULE", + "matcher": "1-hash", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_482.RULE", "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_204.RULE", - "matched_text": " url: http://www.gnu.org/licenses/lgpl.txt" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_482.RULE", + "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt" } ], - "identifier": "lgpl_2_0_plus-39338b95-daca-d7de-257c-fafb876cbd6d" + "identifier": "lgpl_2_1_plus-ed8ae0aa-72f2-2724-7f62-9efe4de451aa" } ], "other_license_expression": null, diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.2.1.ga/hibernate-entitymanager-3.2.1.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.2.1.ga/hibernate-entitymanager-3.2.1.ga.pom.package.json index c6385d86b7b..b3a612b5c76 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.2.1.ga/hibernate-entitymanager-3.2.1.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.2.1.ga/hibernate-entitymanager-3.2.1.ga.pom.package.json @@ -22,40 +22,27 @@ "vcs_url": "http://anonhibernate.labs.jboss.com/trunk/HibernateExt", "copyright": null, "holder": null, - "declared_license_expression": "lgpl-2.0-plus", - "declared_license_expression_spdx": "LGPL-2.0-or-later", + "declared_license_expression": "lgpl-2.1-plus", + "declared_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ { - "license_expression": "lgpl-2.0-plus", + "license_expression": "lgpl-2.1-plus", "matches": [ { "score": 100.0, "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_87.RULE", - "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_87.RULE", - "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE" - }, - { - "score": 100.0, - "start_line": 2, "end_line": 2, - "matched_length": 6, + "matched_length": 14, "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_204.RULE", + "matcher": "1-hash", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_482.RULE", "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_204.RULE", - "matched_text": " url: http://www.gnu.org/licenses/lgpl.txt" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_482.RULE", + "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt" } ], - "identifier": "lgpl_2_0_plus-39338b95-daca-d7de-257c-fafb876cbd6d" + "identifier": "lgpl_2_1_plus-ed8ae0aa-72f2-2724-7f62-9efe4de451aa" } ], "other_license_expression": null, diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.pom.package.json index a30e5f5e8cd..0166c37e1c4 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.pom.package.json @@ -22,40 +22,27 @@ "vcs_url": null, "copyright": null, "holder": null, - "declared_license_expression": "lgpl-2.0-plus", - "declared_license_expression_spdx": "LGPL-2.0-or-later", + "declared_license_expression": "lgpl-2.1-plus", + "declared_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ { - "license_expression": "lgpl-2.0-plus", + "license_expression": "lgpl-2.1-plus", "matches": [ { "score": 100.0, "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_87.RULE", - "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_87.RULE", - "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE" - }, - { - "score": 100.0, - "start_line": 2, "end_line": 2, - "matched_length": 6, + "matched_length": 14, "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_204.RULE", + "matcher": "1-hash", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_482.RULE", "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_204.RULE", - "matched_text": " url: http://www.gnu.org/licenses/lgpl.txt" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_482.RULE", + "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt" } ], - "identifier": "lgpl_2_0_plus-39338b95-daca-d7de-257c-fafb876cbd6d" + "identifier": "lgpl_2_1_plus-ed8ae0aa-72f2-2724-7f62-9efe4de451aa" } ], "other_license_expression": null, diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga.pom.package.json index 73ff8db1573..80cce37d951 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga.pom.package.json @@ -30,40 +30,27 @@ "vcs_url": "svn+http://anonhibernate.labs.jboss.com/trunk/Hibernate3", "copyright": null, "holder": null, - "declared_license_expression": "lgpl-2.0-plus", - "declared_license_expression_spdx": "LGPL-2.0-or-later", + "declared_license_expression": "lgpl-2.1-plus", + "declared_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ { - "license_expression": "lgpl-2.0-plus", + "license_expression": "lgpl-2.1-plus", "matches": [ { "score": 100.0, "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_87.RULE", - "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_87.RULE", - "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE" - }, - { - "score": 100.0, - "start_line": 2, "end_line": 2, - "matched_length": 6, + "matched_length": 14, "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_204.RULE", + "matcher": "1-hash", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_482.RULE", "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_204.RULE", - "matched_text": " url: http://www.gnu.org/licenses/lgpl.txt" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_482.RULE", + "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt" } ], - "identifier": "lgpl_2_0_plus-39338b95-daca-d7de-257c-fafb876cbd6d" + "identifier": "lgpl_2_1_plus-ed8ae0aa-72f2-2724-7f62-9efe4de451aa" } ], "other_license_expression": null, diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.pom.package.json index 19c5ae1a84b..b070f02802e 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.pom.package.json @@ -30,40 +30,27 @@ "vcs_url": "svn+http://anonhibernate.labs.jboss.com/trunk/Hibernate3", "copyright": null, "holder": null, - "declared_license_expression": "lgpl-2.0-plus", - "declared_license_expression_spdx": "LGPL-2.0-or-later", + "declared_license_expression": "lgpl-2.1-plus", + "declared_license_expression_spdx": "LGPL-2.1-or-later", "license_detections": [ { - "license_expression": "lgpl-2.0-plus", + "license_expression": "lgpl-2.1-plus", "matches": [ { "score": 100.0, "start_line": 1, - "end_line": 1, - "matched_length": 5, - "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_87.RULE", - "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_87.RULE", - "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE" - }, - { - "score": 100.0, - "start_line": 2, "end_line": 2, - "matched_length": 6, + "matched_length": 14, "match_coverage": 100.0, - "matcher": "2-aho", - "license_expression": "lgpl-2.0-plus", - "rule_identifier": "lgpl-2.0-plus_204.RULE", + "matcher": "1-hash", + "license_expression": "lgpl-2.1-plus", + "rule_identifier": "lgpl-2.1-plus_482.RULE", "rule_relevance": 100, - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_204.RULE", - "matched_text": " url: http://www.gnu.org/licenses/lgpl.txt" + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1-plus_482.RULE", + "matched_text": "- name: GNU LESSER GENERAL PUBLIC LICENSE\n url: http://www.gnu.org/licenses/lgpl.txt" } ], - "identifier": "lgpl_2_0_plus-39338b95-daca-d7de-257c-fafb876cbd6d" + "identifier": "lgpl_2_1_plus-ed8ae0aa-72f2-2724-7f62-9efe4de451aa" } ], "other_license_expression": null,