diff --git a/src/licensedcode/data/rules/false-positive-plantuml_1.RULE b/src/licensedcode/data/rules/false-positive-plantuml_1.RULE new file mode 100644 index 00000000000..f2da2fcc5b2 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive-plantuml_1.RULE @@ -0,0 +1,6 @@ +--- +is_false_positive: yes +notes: False positive for PlantUML javadoc badge URL containing gplv2 +--- + +[![javadoc](https://javadoc.io/badge2/net.sourceforge.plantuml/plantuml-gplv2/javadoc.svg)](https://javadoc.io/doc/net.sourceforge.plantuml/plantuml-gplv2) \ No newline at end of file diff --git a/src/licensedcode/data/rules/plantuml_1.RULE b/src/licensedcode/data/rules/plantuml_1.RULE new file mode 100644 index 00000000000..ac9952e6eb2 --- /dev/null +++ b/src/licensedcode/data/rules/plantuml_1.RULE @@ -0,0 +1,24 @@ +--- +license_expression: (mit OR apache-2.0 OR epl-2.0 OR lgpl-3.0-plus OR gpl-3.0-plus) +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://www.gnu.org/licenses/gpl-3.0.html + - https://www.gnu.org/licenses/lgpl-3.0.html + - https://www.apache.org/licenses/LICENSE-2.0 + - https://www.eclipse.org/legal/epl-2.0 + - https://opensource.org/licenses/MIT + - https://plantuml.com/en/faq#ddbc9d04378ee462 +--- + +## 📃 License + +PlantUML is licensed under several licenses; you can choose the one that suits you best: + +- [GPL license](https://www.gnu.org/licenses/gpl-3.0.html) +- [LGPL license](https://www.gnu.org/licenses/lgpl-3.0.html) +- [Apache license](https://www.apache.org/licenses/LICENSE-2.0) +- [Eclipse Public license](https://www.eclipse.org/legal/epl-2.0/) +- [MIT license](https://opensource.org/licenses/MIT) + +For more information, please refer to the [PlantUML license FAQ](https://plantuml.com/en/faq#ddbc9d04378ee462) to help determine which license is appropriate for your use case. diff --git a/tests/licensedcode/data/datadriven/lic4/plantuml_license_notice.txt b/tests/licensedcode/data/datadriven/lic4/plantuml_license_notice.txt new file mode 100644 index 00000000000..87d872dce12 --- /dev/null +++ b/tests/licensedcode/data/datadriven/lic4/plantuml_license_notice.txt @@ -0,0 +1,11 @@ +## 📃 License + +PlantUML is licensed under several licenses; you can choose the one that suits you best: + +- [GPL license](https://www.gnu.org/licenses/gpl-3.0.html) +- [LGPL license](https://www.gnu.org/licenses/lgpl-3.0.html) +- [Apache license](https://www.apache.org/licenses/LICENSE-2.0) +- [Eclipse Public license](https://www.eclipse.org/legal/epl-2.0/) +- [MIT license](https://opensource.org/licenses/MIT) + +For more information, please refer to the [PlantUML license FAQ](https://plantuml.com/en/faq#ddbc9d04378ee462) to help determine which license is appropriate for your use case. \ No newline at end of file diff --git a/tests/licensedcode/data/datadriven/lic4/plantuml_license_notice.txt.yml b/tests/licensedcode/data/datadriven/lic4/plantuml_license_notice.txt.yml new file mode 100644 index 00000000000..affe2cf0d28 --- /dev/null +++ b/tests/licensedcode/data/datadriven/lic4/plantuml_license_notice.txt.yml @@ -0,0 +1,2 @@ +license_expressions: + - mit OR apache-2.0 OR epl-2.0 OR lgpl-3.0-plus OR gpl-3.0-plus \ No newline at end of file