Skip to content

Commit dd51a69

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 <ayansmahapatra@gmail.com>
1 parent fbcba7c commit dd51a69

9 files changed

+113
-0
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: bsd-3-clause-no-nuclear-warranty AND jj2000
3+
is_license_tag: yes
4+
minimum_coverage: 95
5+
---
6+
7+
name: {{JJ2000}}
8+
url: LICENSE-JJ2000.txt
9+
name: {{BSD 3-clause License w/nuclear disclaimer}}
10+
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: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
license_expression: json
3+
is_license_tag: 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+
15+
Copyright (c) 2002 JSON.org
16+
17+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
18+
associated documentation files (the "Software"), to deal in the Software without restriction, including
19+
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20+
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
21+
following conditions:
22+
23+
The above copyright notice and this permission notice shall be included in all copies or substantial
24+
portions of the Software.
25+
26+
The Software shall be used for Good, not Evil.
27+
28+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
29+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
30+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
31+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
32+
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
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
license_expression: lgpl-2.1 AND apache-2.0
3+
is_license_tag: yes
4+
ignorable_urls:
5+
- http://www.apache.org/licenses/LICENSE-2.0.txt
6+
- http://www.gnu.org/licenses/licenses.html
7+
---
8+
9+
name: LGPL, version 2.1
10+
url: http://www.gnu.org/licenses/licenses.html
11+
name: Apache License v2.0
12+
url: http://www.apache.org/licenses/LICENSE-2.0.txt
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
license_expression: lgpl-2.1 AND apache-2.0
3+
is_license_tag: yes
4+
ignorable_urls:
5+
- http://www.apache.org/licenses/
6+
- http://www.gnu.org/licenses/licenses.html
7+
---
8+
9+
name: LGPL, version 2.1
10+
url: http://www.gnu.org/licenses/licenses.html
11+
name: ASL, version 2
12+
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: unicode-icu-58
3+
is_license_tag: yes
4+
ignorable_urls:
5+
- http://source.icu-project.org/repos/icu/trunk/icu4j/main/shared/licenses/LICENSE
6+
---
7+
8+
name: Unicode/ICU License
9+
url: http://source.icu-project.org/repos/icu/trunk/icu4j/main/shared/licenses/LICENSE

0 commit comments

Comments
 (0)