Skip to content

Commit e3a1c90

Browse files
Add more license rules
Adds additional license rules to take care of maven package license detection adjustments. Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent d27a33c commit e3a1c90

13 files changed

+142
-7
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
license_expression: apache-2.0
3+
is_license_tag: yes
4+
ignorable_urls:
5+
- https://www.apache.org/licenses/LICENSE-2.0.txt
6+
---
7+
8+
name: Apache License, Version 2.0
9+
url: https://www.apache.org/licenses/LICENSE-2.0.txt
10+
comments: A business-friendly OSS license
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
license_expression: apache-2.0
3+
is_license_tag: yes
4+
ignorable_urls:
5+
- http://www.apache.org/licenses/LICENSE-2.0.txt
6+
---
7+
8+
name: The Apache Software License, Version 2.0
9+
url: http://www.apache.org/licenses/LICENSE-2.0.txt
10+
comments: A business-friendly OSS license
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
license_expression: apache-2.0
3+
is_license_tag: yes
4+
ignorable_urls:
5+
- http://www.apache.org/licenses/
6+
---
7+
8+
name: ASL, version 2
9+
url: http://www.apache.org/licenses/
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
license_expression: apache-2.0
3+
is_license_tag: yes
4+
ignorable_urls:
5+
- http://www.apache.org/licenses/LICENSE-2.0.txt
6+
---
7+
8+
name: Apache License v2.0
9+
url: http://www.apache.org/licenses/LICENSE-2.0.txt
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
license_expression: bsd-3-clause-no-nuclear-warranty
3+
is_license_tag: yes
4+
referenced_filenames:
5+
- LICENSE-Sun.txt
6+
---
7+
8+
name: {{BSD 3-clause License w/nuclear disclaimer}}
9+
url: LICENSE-Sun.txt
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
license_expression: bsd-new
3+
is_license_tag: yes
4+
ignorable_urls:
5+
- http://www.jcraft.com/jzlib/LICENSE.txt
6+
---
7+
8+
name: BSD
9+
url: http://www.jcraft.com/jzlib/LICENSE.txt
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
license_expression: cpl-1.0
3+
is_license_tag: yes
4+
ignorable_urls:
5+
- http://www.opensource.org/licenses/cpl1.0.txt
6+
---
7+
8+
name: CPL
9+
url: http://www.opensource.org/licenses/cpl1.0.txt
10+
comments: Common Public License
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
license_expression: jj2000
3+
is_license_tag: yes
4+
referenced_filenames:
5+
- LICENSE-JJ2000.txt
6+
---
7+
8+
name: {{JJ2000}}
9+
url: LICENSE-JJ2000.txt
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
license_expression: json
3+
is_license_text: yes
4+
ignorable_copyrights:
5+
- Copyright (c) 2002 JSON.org
6+
ignorable_holders:
7+
- JSON.org
8+
ignorable_urls:
9+
- http://json.org/license.html
10+
---
11+
12+
name: The JSON License
13+
url: http://json.org/license.html
14+
comments:
15+
16+
Copyright (c) 2002 JSON.org
17+
18+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
19+
associated documentation files (the "Software"), to deal in the Software without restriction, including
20+
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21+
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
22+
following conditions:
23+
24+
The above copyright notice and this permission notice shall be included in all copies or substantial
25+
portions of the Software.
26+
27+
The Software shall be used for Good, not Evil.
28+
29+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
30+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
31+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
32+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
33+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
license_expression: lgpl-2.1-plus
3+
is_license_tag: yes
4+
ignorable_urls:
5+
- http://www.gnu.org/licenses/lgpl.html
6+
---
7+
8+
name: GNU Lesser Public License
9+
url: http://www.gnu.org/licenses/lgpl.html

0 commit comments

Comments
 (0)