Skip to content

Commit

Permalink
Add license rules from maven poms
Browse files Browse the repository at this point in the history
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
  • Loading branch information
AyanSinhaMahapatra committed Nov 8, 2023
1 parent a4409a4 commit 31444c2
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/licensedcode/data/rules/apache-2.0_1315.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
license_expression: apache-2.0
is_license_tag: yes
ignorable_urls:
- http://www.apache.org/licenses/LICENSE-2.0.txt
---

name: {{Apache License, Version 2.0}}
url: http://www.apache.org/licenses/LICENSE-2.0.txt
comments: A business-friendly OSS license
12 changes: 12 additions & 0 deletions src/licensedcode/data/rules/epl-1.0_or_bsd-new_9.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
license_expression: epl-1.0 OR bsd-new
is_license_tag: yes
ignorable_urls:
- https://github.com/locationtech/jts/blob/master/LICENSE_EDLv1.txt
- https://github.com/locationtech/jts/blob/master/LICENSE_EPLv1.txt
---

name: {{Eclipse Publish License, Version 1.0}}
url: https://github.com/locationtech/jts/blob/master/LICENSE_EPLv1.txt
name: {{Eclipse Distribution License - v 1.0}}
url: https://github.com/locationtech/jts/blob/master/LICENSE_EDLv1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
license_expression: epl-2.0 OR gpl-2.0 WITH classpath-exception-2.0
is_license_tag: yes
ignorable_urls:
- https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
- https://www.gnu.org/software/classpath/license.html
---

name: {{Eclipse Public License v. 2.0}}
url: https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
name: {{GNU General Public License, version 2 with the GNU Classpath Exception}}
url: https://www.gnu.org/software/classpath/license.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
license_expression: epl-2.0 OR gpl-2.0 WITH classpath-exception-2.0 OR bsd-new
is_license_tag: yes
ignorable_urls:
- http://www.eclipse.org/legal/epl-2.0
- http://www.eclipse.org/org/documents/edl-v10.php
- https://www.gnu.org/software/classpath/license.html
---

name: {{EPL 2.0}}
url: http://www.eclipse.org/legal/epl-2.0
name: {{GPL2 w/ CPE}}
url: https://www.gnu.org/software/classpath/license.html
name: {{EDL 1.0}}
url: http://www.eclipse.org/org/documents/edl-v10.php
12 changes: 12 additions & 0 deletions src/licensedcode/data/rules/mpl-2.0_or_lgpl-3.0_5.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
license_expression: mpl-2.0 OR lgpl-3.0
is_license_tag: yes
ignorable_urls:
- http://www.gnu.org/licenses/lgpl.html
- http://www.mozilla.org/MPL/2.0/
---

name: {{GNU General Lesser Public License (LGPL) version 3.0}}
url: http://www.gnu.org/licenses/lgpl.html
name: {{Mozilla Public License Version 2.0}}
url: http://www.mozilla.org/MPL/2.0/

0 comments on commit 31444c2

Please sign in to comment.