-
Notifications
You must be signed in to change notification settings - Fork 7
/
license-normalizer-bundle.json
84 lines (84 loc) · 8.17 KB
/
license-normalizer-bundle.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/**
* Copyright 2018 Evgeny Naumenko <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
{
"bundles" : [
{ "bundleName" : "Apache-1.0", "licenseName" : "Apache Software License, Version 1.1", "licenseUrl" : "https://www.apache.org/licenses/LICENSE-1.1" },
{ "bundleName" : "Apache-2.0", "licenseName" : "Apache License, Version 2.0", "licenseUrl" : "https://www.apache.org/licenses/LICENSE-2.0" },
{ "bundleName" : "BSD-2-Clause", "licenseName" : "The 2-Clause BSD License", "licenseUrl" : "https://opensource.org/licenses/BSD-2-Clause" },
{ "bundleName" : "BSD-3-Clause", "licenseName" : "The 3-Clause BSD License", "licenseUrl" : "https://opensource.org/licenses/BSD-3-Clause" },
{ "bundleName" : "CC0-1.0", "licenseName" : "Creative Commons Legal Code", "licenseUrl" : "https://repository.jboss.org/licenses/cc0-1.0.txt" },
{ "bundleName" : "CDDL-1.0", "licenseName" : "COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL), Version 1.0", "licenseUrl" : "https://oss.oracle.com/licenses/CDDL" },
{ "bundleName" : "CDDL-1.1", "licenseName" : "COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL), Version 1.1", "licenseUrl" : "https://oss.oracle.com/licenses/CDDL-1.1" },
{ "bundleName" : "CPL-1.0", "licenseName" : "Common Public License - v 1.0", "licenseUrl" : "https://www.eclipse.org/legal/cpl-v10.html" },
{ "bundleName" : "EPL-1.0", "licenseName" : "Eclipse Public License - v 1.0", "licenseUrl" : "http://www.eclipse.org/legal/epl-v10.html" },
{ "bundleName" : "EPL-2.0", "licenseName" : "Eclipse Public License - v 2.0", "licenseUrl" : "https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt" },
{ "bundleName" : "EDL-1.0", "licenseName" : "Eclipse Distribution License - v 1.0", "licenseUrl" : "https://www.eclipse.org/org/documents/edl-v10.html" },
{ "bundleName" : "GPL-1.0", "licenseName" : "GNU GENERAL PUBLIC LICENSE, Version 1", "licenseUrl" : "https://www.gnu.org/licenses/gpl-1.0" },
{ "bundleName" : "GPL-2.0-only", "licenseName" : "GNU GENERAL PUBLIC LICENSE, Version 2", "licenseUrl" : "https://www.gnu.org/licenses/gpl-2.0" },
{ "bundleName" : "GPL-3.0-only", "licenseName" : "GNU GENERAL PUBLIC LICENSE, Version 3", "licenseUrl" : "https://www.gnu.org/licenses/gpl-3.0" },
{ "bundleName" : "GPL-2.0 WITH Classpath-exception-2.0", "licenseName" : "GNU GENERAL PUBLIC LICENSE, Version 2 + Classpath Exception", "licenseUrl" : "https://openjdk.java.net/legal/gplv2+ce.html" },
{ "bundleName" : "LGPL-2.1-only", "licenseName" : "GNU LESSER GENERAL PUBLIC LICENSE, Version 2.1", "licenseUrl" : "https://www.gnu.org/licenses/lgpl-2.1" },
{ "bundleName" : "LGPL-3.0-only", "licenseName" : "GNU LESSER GENERAL PUBLIC LICENSE, Version 3", "licenseUrl" : "https://www.gnu.org/licenses/lgpl-3.0" },
{ "bundleName" : "MIT", "licenseName" : "MIT License", "licenseUrl" : "https://opensource.org/license/mit/" },
{ "bundleName" : "MIT-0", "licenseName" : "MIT No Attribution License", "licenseUrl" : "https://opensource.org/license/mit-0/" },
{ "bundleName" : "MPL-1.1", "licenseName" : "Mozilla Public License Version 1.1", "licenseUrl" : "https://www.mozilla.org/en-US/MPL/1.1" },
{ "bundleName" : "MPL-2.0", "licenseName" : "Mozilla Public License, Version 2.0", "licenseUrl" : "https://www.mozilla.org/en-US/MPL/2.0" },
{ "bundleName" : "Public-Domain", "licenseName" : "PUBLIC DOMAIN", "licenseUrl" : "" }
],
"transformationRules" : [
{ "bundleName" : "Apache-2.0", "licenseNamePattern" : ".*The Apache Software License, Version 2\\.0.*" },
{ "bundleName" : "Apache-2.0", "licenseNamePattern" : "Apache 2.*" },
{ "bundleName" : "Apache-2.0", "licenseNamePattern" : "ASL 2\\.0" },
{ "bundleName" : "Apache-2.0", "licenseNamePattern" : "Apache License Version 2.0" },
{ "bundleName" : "Apache-2.0", "licenseUrlPattern" : ".*www\\.apache\\.org/licenses/LICENSE-2\\.0.*" },
{ "bundleName" : "LGPL-2.1-only", "licenseUrlPattern" : ".*www\\.gnu\\.org/licenses/old-licenses/lgpl-2\\.1\\.html" },
{ "bundleName" : "MIT", "licenseUrlPattern" : ".*www\\.opensource\\.org/licenses/mit-license\\.php" },
{ "bundleName" : "Apache-2.0", "licenseFileContentPattern" : ".*Apache License,?( Version)? 2.*" },
{ "bundleName" : "Apache-1.0", "licenseFileContentPattern" : ".*Apache Software License, Version 1\\.1.*" },
{ "bundleName" : "CDDL-1.0", "licenseFileContentPattern" : ".*CDDL.*1\\.0" },
{ "bundleName" : "BSD-3-Clause", "licenseNamePattern" : "BSD[ |-]3-[c|C]lause.*" },
{ "bundleName" : "BSD-3-Clause", "licenseNamePattern" : "Revised BSD" },
{ "bundleName" : "BSD-2-Clause", "licenseNamePattern" : "BSD[ |-]2-[c|C]lause.*" },
{ "bundleName" : "BSD-2-Clause", "licenseNamePattern" : "The[ |-]2-[c|C]lause.BSD.*" },
{ "bundleName" : "CDDL-1.0", "licenseNamePattern" : "Common Development and Distribution( License)?" },
{ "bundleName" : "CDDL-1.0", "licenseNamePattern" : "(?i)Common Development and Distribution License \\(CDDL\\) v(ersion)?\\s*1.0" },
{ "bundleName" : "CDDL-1.0", "licenseNamePattern" : "CDDL(,)? (v)?1(\\.0)" },
/* Since it's an OR, we normalize this to CDDL (1.0) instead, since the version of CDDL is not specified */
{ "bundleName" : "CDDL-1.0", "licenseNamePattern" : "CDDL + GPLv2 with classpath exception" },
/* Since it's an OR, we normalize this to CDDL (1.0) instead, since the version of CDDL is not specified */
{ "bundleName" : "CDDL-1.0", "licenseNamePattern" : "CDDL+GPL License" },
{ "bundleName" : "CDDL-1.1", "licenseNamePattern" : "CDDL 1\\.1" },
{ "bundleName" : "CDDL-1.1", "licenseNamePattern" : "(?i)Common Development and Distribution License \\(CDDL\\) v(ersion)?\\s*1.1" },
{ "bundleName" : "EPL-1.0", "licenseNamePattern" : "Eclipse Public License.*(v|[v|V]ersion)\\.?\\s?1(\\.0)?" },
{ "bundleName" : "EDL-1.0", "licenseNamePattern" : "Eclipse Distribution License.*(v|[v|V]ersion)\\.?\\s?1(\\.0)?" },
{ "bundleName" : "EDL-1.0", "licenseNamePattern" : "Eclipse Distribution License (New BSD License)" },
{ "bundleName" : "GPL-2.0 WITH Classpath-exception-2.0", "licenseNamePattern" : "GNU General Public License, [v|V]ersion 2.*[c|C]lasspath [e|E]xception" },
{ "bundleName" : "GPL-2.0 WITH Classpath-exception-2.0", "licenseNamePattern" : "GNU General Public License, [v|V]ersion 2.*[c|C][p|P]?[e|E]" },
{ "bundleName" : "GPL-2.0 WITH Classpath-exception-2.0", "licenseNamePattern" : "GNU General Public License, [v|V]ersion 2.*, with the classpath exception" },
{ "bundleName" : "GPL-2.0 WITH Classpath-exception-2.0", "licenseNamePattern" : "GPL2 w/ CPE" },
{ "bundleName" : "LGPL-2.1-only", "licenseUrlPattern" : ".*www\\.opensource\\.org/licenses/LGPL-2\\.1" },
{ "bundleName" : "LGPL-2.1-only", "licenseNamePattern" : "GNU Lesser General Public License Version 2.1" },
{ "bundleName" : "LGPL-2.1-only", "licenseUrlPattern" : ".*www\\.gnu\\.org/licenses/lgpl-2\\.1\\.html" },
{ "bundleName" : "LGPL-2.1-only", "licenseNamePattern" : "LGPL 2\\.1" },
{ "bundleName" : "MIT", "licenseNamePattern" : "(The\\s)?MIT(\\s[l|L]icen[c|s]e)?(\\s[(]MIT[)])?" },
{ "bundleName" : "MIT-0", "licenseNamePattern" : "(The\\s)?MIT No Attribution(\\s[l|L]icen[c|s]e)?(\\s[(]MIT[-]?0[)])?" },
{ "bundleName" : "MIT-0", "licenseNamePattern" : "MIT-0" },
{ "bundleName" : "MPL-1.1", "licenseNamePattern" : "MPL 1\\.1" },
{ "bundleName" : "Public-Domain", "licenseNamePattern" : "(([p|P]ublic|PUBLIC)\\s([d|D]omain|DOMAIN)).*", "transformUrl" : false },
{ "bundleName" : "Public-Domain", "licenseFileContentPattern" : ".*([c|C]reative|CREATIVE)\\s([c|C]ommons|COMMONS).*", "transformUrl" : false },
{ "bundleName" : "Public-Domain", "licenseFileContentPattern" : ".*(([p|P]ublic|PUBLIC)\\s([d|D]omain|DOMAIN)).*", "transformUrl" : false }
]
}