Skip to content

Commit c4bbf32

Browse files
authored
[license] Update license/notice for project and inner python-java-bridge module and add ci for java module license check (#26)
1 parent 42efa85 commit c4bbf32

File tree

6 files changed

+486
-18
lines changed

6 files changed

+486
-18
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
name: Check Java Bridge Licensing
17+
18+
on: [push, pull_request]
19+
20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }}
22+
cancel-in-progress: true
23+
24+
jobs:
25+
build:
26+
runs-on: ubuntu-latest
27+
env:
28+
MVN_COMMON_OPTIONS: -U -B --no-transfer-progress
29+
MVN_BUILD_OUTPUT_FILE: "/tmp/mvn_build_output.out"
30+
MVN_VALIDATION_DIR: "/tmp/paimon-validation-deployment"
31+
32+
steps:
33+
- uses: actions/checkout@v2
34+
35+
- name: Set JDK
36+
uses: actions/setup-java@v2
37+
with:
38+
java-version: 8
39+
distribution: 'adopt'
40+
- name: Build
41+
run: |
42+
set -o pipefail
43+
cd paimon_python_java/paimon-python-java-bridge
44+
mvn clean deploy ${{ env.MVN_COMMON_OPTIONS }} -DskipTests \
45+
-DaltDeploymentRepository=validation_repository::default::file:${{ env.MVN_VALIDATION_DIR }} \
46+
| tee ${{ env.MVN_BUILD_OUTPUT_FILE }}
47+
48+
- name: Check licensing
49+
run: |
50+
cd paimon_python_java/paimon-python-java-bridge
51+
mvn ${{ env.MVN_COMMON_OPTIONS }} exec:java@check-licensing -N \
52+
-Dexec.args="${{ env.MVN_BUILD_OUTPUT_FILE }} $(pwd) ${{ env.MVN_VALIDATION_DIR }}" \
53+
-Dlog4j.configurationFile=file://$(pwd)/tools/ci/log4j.properties
54+
env:
55+
MAVEN_OPTS: -Xmx4096m

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,3 +199,23 @@
199199
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200200
See the License for the specific language governing permissions and
201201
limitations under the License.
202+
203+
------------------------------------------------------------------------------------
204+
205+
This product bundles various third-party components under other open source licenses.
206+
This section summarizes those components and their licenses. See licenses/
207+
for text of these licenses.
208+
209+
Apache Software Foundation License 2.0
210+
--------------------------------------
211+
212+
paimon_python_java/paimon-python-java-bridge/src/main/java/org/apache/paimon/python/FileLock.java
213+
paimon_python_java/paimon-python-java-bridge/src/main/java/org/apache/paimon/python/NetUtils
214+
paimon_python_java/paimon-python-java-bridge/src/main/java/org/apache/paimon/python/PythonEnvUtils
215+
paimon_python_java/paimon-python-java-bridge/src/main/java/org/apache/paimon/python/PythonGatewayServer
216+
217+
paimon_python_java/gateway_server.py
218+
paimon_python_java/java_gateway.py
219+
paimon_python_java/util/exceptions.py
220+
221+
from http://flink.apache.org/ version 1.20.0

NOTICE

Lines changed: 266 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,269 @@ Apache Paimon Python
22
Copyright 2024 The Apache Software Foundation
33

44
This product includes software developed at
5-
The Apache Software Foundation (http://www.apache.org/).
5+
The Apache Software Foundation (http://www.apache.org/).
6+
7+
8+
This project bundles the following dependencies under the under the MIT license
9+
- org.slf4j:slf4j-api:1.7.32
10+
11+
This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
12+
- org.apache.logging.log4j:log4j-1.2-api:2.17.1
13+
- org.apache.arrow:arrow-vector:14.0.0
14+
- org.apache.arrow:arrow-format:14.0.0
15+
- org.apache.arrow:arrow-memory-core:14.0.0
16+
- org.apache.arrow:arrow-memory-unsafe:14.0.0
17+
- org.apache.arrow:arrow-c-data:14.0.0
18+
- com.google.flatbuffers:flatbuffers-java:1.12.0
19+
20+
This project bundles the following dependencies under the 2-Clause BSD License
21+
- net.sf.py4j:py4j:0.10.9.7
22+
23+
24+
Apache Paimon-shade (incubating)
25+
Copyright 2023-2024 The Apache Software Foundation
26+
27+
Paimon : Bundle
28+
Copyright 2023-2024 The Apache Software Foundation
29+
30+
paimon-common
31+
Copyright 2023-2024 The Apache Software Foundation
32+
33+
This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
34+
- org.roaringbitmap:RoaringBitmap:1.0.5
35+
- org.apache.datasketches:datasketches-java:4.2.0
36+
- org.apache.datasketches:datasketches-memory:2.2.0
37+
38+
This project bundles the following dependencies under the BSD 3-clause license.
39+
You find them under licenses/LICENSE.antlr-runtime and licenses/LICENSE.janino.
40+
41+
- org.antlr:antlr4-runtime:4.9.3
42+
- org.codehaus.janino:janino:3.0.11
43+
- org.codehaus.janino:commons-compiler:3.0.11
44+
- it.unimi.dsi:fastutil:8.5.12
45+
- net.openhft:zero-allocation-hashing:0.16
46+
- com.github.davidmoten:hilbert-curve:0.2.2
47+
- com.github.davidmoten:guava-mini:0.1.3
48+
49+
datasketches-java
50+
Copyright 2015-2022 The Apache Software Foundation
51+
52+
Apache DataSketches Memory
53+
Copyright 2022 - The Apache Software Foundation
54+
55+
Copyright 2015-2018 Yahoo Inc.
56+
Copyright 2019-2020 Verizon Media
57+
Copyright 2021 Yahoo Inc.
58+
59+
Prior to moving to ASF, the software for this project was developed at
60+
Yahoo Inc. (https://developer.yahoo.com).
61+
62+
Paimon : Core
63+
Copyright 2023-2024 The Apache Software Foundation
64+
65+
Paimon : Code Gen Loader
66+
Copyright 2023-2024 The Apache Software Foundation
67+
68+
paimon-format
69+
Copyright 2023-2024 The Apache Software Foundation
70+
71+
This project bundles the following dependencies under the Apache Software License 2.0. (http://www.apache.org/licenses/LICENSE-2.0.txt)
72+
73+
- org.apache.orc:orc-core:1.9.2
74+
- org.apache.orc:orc-shims:1.9.2
75+
- org.apache.hive:hive-storage-api:2.8.1
76+
- io.airlift:aircompressor:0.27
77+
- commons-lang:commons-lang:2.6
78+
- org.apache.commons:commons-lang3:3.12.0
79+
80+
- org.apache.avro:avro:1.11.3
81+
- com.fasterxml.jackson.core:jackson-core:2.14.2
82+
- com.fasterxml.jackson.core:jackson-databind:2.14.2
83+
- com.fasterxml.jackson.core:jackson-annotations:2.14.2
84+
- org.apache.commons:commons-compress:1.22
85+
86+
- org.apache.parquet:parquet-hadoop:1.13.1
87+
- org.apache.parquet:parquet-column:1.13.1
88+
- org.apache.parquet:parquet-common:1.13.1
89+
- org.apache.parquet:parquet-encoding:1.13.1
90+
- org.apache.parquet:parquet-format-structures:1.13.1
91+
- org.apache.parquet:parquet-jackson:1.13.1
92+
- commons-pool:commons-pool:1.6
93+
94+
This project bundles the following dependencies under the BSD license.
95+
You find it under licenses/LICENSE.protobuf, licenses/LICENSE.zstd-jni
96+
and licenses/LICENSE.threeten-extra
97+
98+
- com.google.protobuf:protobuf-java:3.19.6
99+
- com.github.luben:zstd-jni:1.5.5-11
100+
- org.threeten:threeten-extra:1.7.1
101+
102+
# Jackson JSON processor
103+
104+
Jackson is a high-performance, Free/Open Source JSON processing library.
105+
It was originally written by Tatu Saloranta ([email protected]), and has
106+
been in development since 2007.
107+
It is currently developed by a community of developers.
108+
109+
## Licensing
110+
111+
Jackson 2.x core and extension components are licensed under Apache License 2.0
112+
To find the details that apply to this artifact see the accompanying LICENSE file.
113+
114+
## Credits
115+
116+
A list of contributors may be found from CREDITS(-2.x) file, which is included
117+
in some artifacts (usually source distributions); but is always available
118+
from the source code management (SCM) system project uses.
119+
120+
Apache Commons Lang
121+
Copyright 2001-2011 The Apache Software Foundation
122+
123+
This product includes software developed by
124+
The Apache Software Foundation (http://www.apache.org/).
125+
126+
ORC Core
127+
Copyright 2013-2023 The Apache Software Foundation
128+
129+
ORC Shims
130+
Copyright 2013-2023 The Apache Software Foundation
131+
132+
Apache Commons Lang
133+
Copyright 2001-2021 The Apache Software Foundation
134+
135+
This product includes software developed at
136+
The Apache Software Foundation (https://www.apache.org/).
137+
138+
Hive Storage API
139+
Copyright 2020 The Apache Software Foundation
140+
141+
Apache Avro
142+
Copyright 2009-2023 The Apache Software Foundation
143+
144+
Apache Commons Compress
145+
Copyright 2002-2022 The Apache Software Foundation
146+
147+
---
148+
149+
The files in the package org.apache.commons.compress.archivers.sevenz
150+
were derived from the LZMA SDK, version 9.20 (C/ and CPP/7zip/),
151+
which has been placed in the public domain:
152+
153+
"LZMA SDK is placed in the public domain." (http://www.7-zip.org/sdk.html)
154+
155+
The test file lbzip2_32767.bz2 has been copied from libbzip2's source
156+
repository:
157+
158+
This program, "bzip2", the associated library "libbzip2", and all
159+
documentation, are copyright (C) 1996-2019 Julian R Seward. All
160+
rights reserved.
161+
162+
Redistribution and use in source and binary forms, with or without
163+
modification, are permitted provided that the following conditions
164+
are met:
165+
166+
1. Redistributions of source code must retain the above copyright
167+
notice, this list of conditions and the following disclaimer.
168+
169+
2. The origin of this software must not be misrepresented; you must
170+
not claim that you wrote the original software. If you use this
171+
software in a product, an acknowledgment in the product
172+
documentation would be appreciated but is not required.
173+
174+
3. Altered source versions must be plainly marked as such, and must
175+
not be misrepresented as being the original software.
176+
177+
4. The name of the author may not be used to endorse or promote
178+
products derived from this software without specific prior written
179+
permission.
180+
181+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
182+
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
183+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
184+
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
185+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
186+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
187+
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
188+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
189+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
190+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
191+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
192+
193+
Julian Seward, [email protected]
194+
195+
Apache Commons Pool
196+
Copyright 2001-2012 The Apache Software Foundation
197+
198+
Paimon : Hive Catalog
199+
Copyright 2023-2024 The Apache Software Foundation
200+
201+
Paimon : Hive Common
202+
Copyright 2023-2024 The Apache Software Foundation
203+
204+
paimon-shade-jackson-2
205+
Copyright 2023-2024 The Apache Software Foundation
206+
207+
This project includes software developed at
208+
The Apache Software Foundation (http://www.apache.org/).
209+
210+
This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
211+
212+
- com.fasterxml.jackson.core:jackson-annotations:2.14.2
213+
- com.fasterxml.jackson.core:jackson-core:2.14.2
214+
- com.fasterxml.jackson.core:jackson-databind:2.14.2
215+
- com.fasterxml.jackson.dataformat:jackson-dataformat-csv:2.14.2
216+
- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.2
217+
- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.14.2
218+
- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.2
219+
- org.yaml:snakeyaml:1.33
220+
221+
Jackson is a high-performance, Free/Open Source JSON processing library.
222+
It was originally written by Tatu Saloranta ([email protected]), and has
223+
been in development since 2007.
224+
It is currently developed by a community of developers, as well as supported
225+
commercially by FasterXML.com.
226+
227+
Jackson core and extension components may be licensed under different licenses.
228+
To find the details that apply to this artifact see the accompanying LICENSE file.
229+
For more information, including possible other licensing options, contact
230+
FasterXML.com (http://fasterxml.com).
231+
232+
A list of contributors may be found from CREDITS file, which is included
233+
in some artifacts (usually source distributions); but is always available
234+
from the source code management (SCM) system project uses.
235+
236+
paimon-shade-guava-30
237+
Copyright 2023-2024 The Apache Software Foundation
238+
239+
- com.google.guava:guava:30.1.1-jre
240+
- com.google.guava:failureaccess:1.0.1
241+
242+
paimon-shade-caffeine-2
243+
Copyright 2023-2024 The Apache Software Foundation
244+
245+
- com.github.ben-manes.caffeine:caffeine:2.9.3
246+
247+
Paimon : Arrow
248+
Copyright 2023-2024 The Apache Software Foundation
249+
250+
Apache Log4j 1.x Compatibility API
251+
Copyright 1999-1969 The Apache Software Foundation
252+
253+
Arrow Vectors
254+
Copyright 2023 The Apache Software Foundation
255+
256+
Arrow Format
257+
Copyright 2023 The Apache Software Foundation
258+
259+
Arrow Memory - Core
260+
Copyright 2023 The Apache Software Foundation
261+
262+
Arrow Memory - Unsafe
263+
Copyright 2023 The Apache Software Foundation
264+
265+
Arrow Java C Data Interface
266+
Copyright 2023 The Apache Software Foundation
267+
268+
Apache Flink
269+
Copyright 2014-2024 The Apache Software Foundation
270+

0 commit comments

Comments
 (0)