Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use repository.jboss.org for GNU licenses #1288

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 60 additions & 1 deletion licenses-generator/src/main/resources/rh-license-exceptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,64 @@
"url": "https://www.mozilla.org/en-US/MPL/2.0/"
}
]
},
{
"groupId": "org.apache.avro",
"artifactId": "avro",
"version-regexp": "1\\..+",
"licenses": [
{
"name": "Apache License 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
]
},
{
"groupId": "org.cryptacular",
"artifactId": "cryptacular",
"version-regexp": ".*",
"licenses": [
{
"name": "Apache License 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
},
{
"name": "GNU Lesser General Public License v3.0 only",
"url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html"
}
]
},
{
"groupId": "org.apache.avro",
"artifactId": "avro-parent",
"version-regexp": "1\\..+",
"licenses": [
{
"name": "Apache License 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
]
},
{
"groupId": "org.apache.avro",
"artifactId": "avro-toplevel",
"version-regexp": "1\\..+",
"licenses": [
{
"name": "Apache License 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
]
},
{
"groupId": "org.jboss",
"artifactId": "jboss-parent",
"version-regexp": ".*",
"licenses": [
{
"name": "Apache License 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
]
}
]
]
22 changes: 20 additions & 2 deletions licenses-generator/src/main/resources/rh-license-names.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,16 @@
},
{
"name": "GNU Lesser General Public License, Version 3",
"textUrl": "https://repository.jboss.org/licenses/lgpl-3.0.txt",
"url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html",
"aliases": [
"GNU Lesser General Public License, Version 3",
"The GNU Lesser General Public License, version 3"
"The GNU Lesser General Public License, version 3",
"GNU Lesser General Public License v3.0 only",
"GNU Lesser General Public License v3.0 or later"
],
"urlAliases": [
"https://repository.jboss.org/licenses/lgpl-3.0.txt",
"https://www.gnu.org/licenses/lgpl-3.0-standalone.html",
"http://www.gnu.org/licenses/lgpl-3.0-standalone.html",
"https://www.gnu.org/licenses/lgpl.html",
Expand All @@ -70,12 +74,14 @@
},
{
"name": "GNU General Public License v2.0 only",
"textUrl": "https://repository.jboss.org/licenses/gpl-2.0.txt",
"url": "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html",
"aliases": [
"GNU General Public License v2.0 only",
"The GNU General Public License, Version 2"
],
"urlAliases": [
"https://repository.jboss.org/licenses/gpl-2.0.txt",
"https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html",
"http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html",
"https://www.gnu.org/licenses/old-licenses/gpl-2.0.html",
Expand All @@ -89,7 +95,8 @@
"url": "http://repository.jboss.org/licenses/gpl-2.0-ce.txt",
"aliases": [
"GNU General Public License, Version 2 with the Classpath Exception",
"GPL2 w/ CPE"
"GPL2 w/ CPE",
"GNU General Public License"
],
"urlAliases": [
"http://repository.jboss.org/licenses/gpl-2.0-ce.txt"
Expand Down Expand Up @@ -319,5 +326,16 @@
"urlAliases": [
"http://creativecommons.org/publicdomain/zero/1.0"
]
},
{
"name": "Unicode-3.0",
"url": "https://raw.githubusercontent.com/unicode-org/icu/main/LICENSE",
"aliases": [
"Unicode/ICU License",
"Unicode-3.0"
],
"urlAliases": [
"https://raw.githubusercontent.com/unicode-org/icu/main/LICENSE"
]
}
]
97 changes: 95 additions & 2 deletions pig/src/main/resources/rh-license-exceptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,17 @@
}
]
},
{
"groupId": "com.fasterxml.jackson",
"artifactId": "jackson-bom",
"version-regexp": "2\\..+",
"licenses": [
{
"name": "Apache License 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
]
},
{
"groupId": "org.reactivestreams",
"artifactId": "reactive-streams",
Expand Down Expand Up @@ -882,7 +893,7 @@
"licenses": [
{
"name": "GNU Lesser General Public License v3.0 or later",
"url": "https://www.gnu.org/licenses/lgpl-3.0.txt"
"url": "https://repository.jboss.org/licenses/lgpl-3.0.txt"
},
{
"name": "Apache License 2.0",
Expand Down Expand Up @@ -1270,7 +1281,7 @@
},
{
"name": "GNU General Public License v2.0 only",
"url": "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html"
"url": "https://repository.jboss.org/licenses/gpl-2.0.txt"
},
{
"name": "BSD 3-clause \"New\" or \"Revised\" License",
Expand Down Expand Up @@ -1563,5 +1574,87 @@
"url": "https://opensource.org/licenses/BSD-3-Clause"
}
]
},
{
"groupId": "org.cryptacular",
"artifactId": "cryptacular",
"version-regexp": ".*",
"licenses": [
{
"name": "Apache License 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
},
{
"name": "GNU Lesser General Public License v3.0 only",
"url": "https://repository.jboss.org/licenses/lgpl-3.0.txt"
}
]
},
{
"groupId": "org.apache.avro",
"artifactId": "avro",
"version-regexp": "1\\..+",
"licenses": [
{
"name": "Apache License 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
]
},
{
"groupId": "org.apache.avro",
"artifactId": "avro-compiler",
"version-regexp": "1\\..+",
"licenses": [
{
"name": "Apache License 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
]
},
{
"groupId": "org.apache.avro",
"artifactId": "avro-parent",
"version-regexp": "1\\..+",
"licenses": [
{
"name": "Apache License 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
]
},
{
"groupId": "org.apache.avro",
"artifactId": "avro-toplevel",
"version-regexp": "1\\..+",
"licenses": [
{
"name": "Apache License 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
]
},
{
"groupId": "org.jboss",
"artifactId": "jboss-parent",
"version-regexp": "^([0-3]?[0-9])\\..+",
"licenses": [
{
"name": "Public Domain",
"url": "http://repository.jboss.org/licenses/cc0-1.0.txt"
}
]
},
{
"groupId": "org.jboss",
"artifactId": "jboss-parent",
"version-regexp": "^([4-9]?[0-9])\\..+",
"licenses": [
{
"name": "Apache License 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
]
}

]
12 changes: 12 additions & 0 deletions pig/src/main/resources/rh-license-names.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
"GNU General Public License v2.0 only, with Classpath exception",
"GPL-2.0-with-classpath-exception",
"GPL2 w/ CPE",
"GNU General Public License",
"gpl",
"The GNU General Public License (GPL), Version 2, With Classpath Exception",
"General Public License, version 2 with the GNU Classpath"
Expand Down Expand Up @@ -453,5 +454,16 @@
"urlAliases": [
"http://www.opensource.org/licenses/LGPL-2.1"
]
},
{
"name": "Unicode-3.0",
"url": "https://raw.githubusercontent.com/unicode-org/icu/main/LICENSE",
"aliases": [
"Unicode/ICU License",
"Unicode-3.0"
],
"urlAliases": [
"https://raw.githubusercontent.com/unicode-org/icu/main/LICENSE"
]
}
]