Skip to content

Commit 1a2623f

Browse files
committed
Add and fix LICENSE.txt and NOTICE.txt in the distributed artifacts
1 parent a10b900 commit 1a2623f

File tree

15 files changed

+3348
-16
lines changed

15 files changed

+3348
-16
lines changed

LICENSE.txt

+14-9
Original file line numberDiff line numberDiff line change
@@ -202,16 +202,21 @@
202202
limitations under the License.
203203

204204
--------------------------------------------------------------------------------
205-
vector/src/main/java/org/apache/arrow/vector/util/IntObjectHashMap.java
206-
vector/src/main/java/org/apache/arrow/vector/util/IntObjectMap.java
205+
This product includes code from Netty 4.1.117.Final:
207206

208-
These file are derived from code from Netty(4.1.117), which is made available under the
209-
Apache License 2.0.
207+
* vector/src/main/java/org/apache/arrow/vector/util/IntObjectHashMap.java
208+
* vector/src/main/java/org/apache/arrow/vector/util/IntObjectMap.java
209+
* memory/memory-core/src/main/java/org/apache/arrow/memory/rounding/DefaultRoundingPolicy.java
210+
211+
Copyright: 2014 The Netty Project
212+
Home page: https://netty.io/
213+
License: https://www.apache.org/licenses/LICENSE-2.0
210214

211215
--------------------------------------------------------------------------------
212-
memory/memory-core/src/main/java/org/apache/arrow/util/Preconditions.java
216+
This product includes code from Google Guava 33.4.0-jre
217+
218+
* memory/memory-core/src/main/java/org/apache/arrow/util/Preconditions.java
213219

214-
This product includes software from Google Guava(33.4.0), which is made available under the
215-
Apache License 2.0.
216-
* Copyright (C) 2007 The Guava Authors
217-
* https://github.com/google/guava
220+
Copyright: (C) 2011 The Guava Authors
221+
Home page: https://github.com/google/guava/
222+
License: https://www.apache.org/licenses/LICENSE-2.0

NOTICE.txt

+264-7
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,269 @@ Copyright 2016-2025 The Apache Software Foundation
44
This product includes software developed at
55
The Apache Software Foundation (http://www.apache.org/).
66

7-
This product contains code from the Netty Project:
87
---------------------------------------------------
9-
The Netty Project
10-
=================
11-
Please visit the Netty web site for more information:
12-
* http://netty.io/
8+
This product includes code from Netty 4.1.117.Final, with the following in its NOTICE:
139

14-
Copyright 2014 The Netty Project
15-
---------------------------------------------------
10+
| The Netty Project
11+
| =================
12+
|
13+
| Please visit the Netty web site for more information:
14+
|
15+
| * https://netty.io/
16+
|
17+
| Copyright 2014 The Netty Project
18+
|
19+
| The Netty Project licenses this file to you under the Apache License,
20+
| version 2.0 (the "License"); you may not use this file except in compliance
21+
| with the License. You may obtain a copy of the License at:
22+
|
23+
| https://www.apache.org/licenses/LICENSE-2.0
24+
|
25+
| Unless required by applicable law or agreed to in writing, software
26+
| distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
27+
| WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
28+
| License for the specific language governing permissions and limitations
29+
| under the License.
30+
|
31+
| Also, please refer to each LICENSE.<component>.txt file, which is located in
32+
| the 'license' directory of the distribution file, for the license terms of the
33+
| components that this product depends on.
34+
|
35+
| -------------------------------------------------------------------------------
36+
| This product contains the extensions to Java Collections Framework which has
37+
| been derived from the works by JSR-166 EG, Doug Lea, and Jason T. Greene:
38+
|
39+
| * LICENSE:
40+
| * license/LICENSE.jsr166y.txt (Public Domain)
41+
| * HOMEPAGE:
42+
| * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
43+
| * http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
44+
|
45+
| This product contains a modified version of Robert Harder's Public Domain
46+
| Base64 Encoder and Decoder, which can be obtained at:
47+
|
48+
| * LICENSE:
49+
| * license/LICENSE.base64.txt (Public Domain)
50+
| * HOMEPAGE:
51+
| * http://iharder.sourceforge.net/current/java/base64/
52+
|
53+
| This product contains a modified portion of 'Webbit', an event based
54+
| WebSocket and HTTP server, which can be obtained at:
55+
|
56+
| * LICENSE:
57+
| * license/LICENSE.webbit.txt (BSD License)
58+
| * HOMEPAGE:
59+
| * https://github.com/joewalnes/webbit
60+
|
61+
| This product contains a modified portion of 'SLF4J', a simple logging
62+
| facade for Java, which can be obtained at:
63+
|
64+
| * LICENSE:
65+
| * license/LICENSE.slf4j.txt (MIT License)
66+
| * HOMEPAGE:
67+
| * https://www.slf4j.org/
68+
|
69+
| This product contains a modified portion of 'Apache Harmony', an open source
70+
| Java SE, which can be obtained at:
71+
|
72+
| * NOTICE:
73+
| * license/NOTICE.harmony.txt
74+
| * LICENSE:
75+
| * license/LICENSE.harmony.txt (Apache License 2.0)
76+
| * HOMEPAGE:
77+
| * https://archive.apache.org/dist/harmony/
78+
|
79+
| This product contains a modified portion of 'jbzip2', a Java bzip2 compression
80+
| and decompression library written by Matthew J. Francis. It can be obtained at:
81+
|
82+
| * LICENSE:
83+
| * license/LICENSE.jbzip2.txt (MIT License)
84+
| * HOMEPAGE:
85+
| * https://code.google.com/p/jbzip2/
86+
|
87+
| This product contains a modified portion of 'libdivsufsort', a C API library to construct
88+
| the suffix array and the Burrows-Wheeler transformed string for any input string of
89+
| a constant-size alphabet written by Yuta Mori. It can be obtained at:
90+
|
91+
| * LICENSE:
92+
| * license/LICENSE.libdivsufsort.txt (MIT License)
93+
| * HOMEPAGE:
94+
| * https://github.com/y-256/libdivsufsort
95+
|
96+
| This product contains a modified portion of Nitsan Wakart's 'JCTools', Java Concurrency Tools for the JVM,
97+
| which can be obtained at:
98+
|
99+
| * LICENSE:
100+
| * license/LICENSE.jctools.txt (ASL2 License)
101+
| * HOMEPAGE:
102+
| * https://github.com/JCTools/JCTools
103+
|
104+
| This product optionally depends on 'JZlib', a re-implementation of zlib in
105+
| pure Java, which can be obtained at:
106+
|
107+
| * LICENSE:
108+
| * license/LICENSE.jzlib.txt (BSD style License)
109+
| * HOMEPAGE:
110+
| * http://www.jcraft.com/jzlib/
111+
|
112+
| This product optionally depends on 'Compress-LZF', a Java library for encoding and
113+
| decoding data in LZF format, written by Tatu Saloranta. It can be obtained at:
114+
|
115+
| * LICENSE:
116+
| * license/LICENSE.compress-lzf.txt (Apache License 2.0)
117+
| * HOMEPAGE:
118+
| * https://github.com/ning/compress
119+
|
120+
| This product optionally depends on 'lz4', a LZ4 Java compression
121+
| and decompression library written by Adrien Grand. It can be obtained at:
122+
|
123+
| * LICENSE:
124+
| * license/LICENSE.lz4.txt (Apache License 2.0)
125+
| * HOMEPAGE:
126+
| * https://github.com/jpountz/lz4-java
127+
|
128+
| This product optionally depends on 'lzma-java', a LZMA Java compression
129+
| and decompression library, which can be obtained at:
130+
|
131+
| * LICENSE:
132+
| * license/LICENSE.lzma-java.txt (Apache License 2.0)
133+
| * HOMEPAGE:
134+
| * https://github.com/jponge/lzma-java
135+
|
136+
| This product optionally depends on 'zstd-jni', a zstd-jni Java compression
137+
| and decompression library, which can be obtained at:
138+
|
139+
| * LICENSE:
140+
| * license/LICENSE.zstd-jni.txt (BSD)
141+
| * HOMEPAGE:
142+
| * https://github.com/luben/zstd-jni
143+
|
144+
| This product contains a modified portion of 'jfastlz', a Java port of FastLZ compression
145+
| and decompression library written by William Kinney. It can be obtained at:
146+
|
147+
| * LICENSE:
148+
| * license/LICENSE.jfastlz.txt (MIT License)
149+
| * HOMEPAGE:
150+
| * https://code.google.com/p/jfastlz/
151+
|
152+
| This product contains a modified portion of and optionally depends on 'Protocol Buffers', Google's data
153+
| interchange format, which can be obtained at:
154+
|
155+
| * LICENSE:
156+
| * license/LICENSE.protobuf.txt (New BSD License)
157+
| * HOMEPAGE:
158+
| * https://github.com/google/protobuf
159+
|
160+
| This product optionally depends on 'Bouncy Castle Crypto APIs' to generate
161+
| a temporary self-signed X.509 certificate when the JVM does not provide the
162+
| equivalent functionality. It can be obtained at:
163+
|
164+
| * LICENSE:
165+
| * license/LICENSE.bouncycastle.txt (MIT License)
166+
| * HOMEPAGE:
167+
| * https://www.bouncycastle.org/
168+
|
169+
| This product optionally depends on 'Snappy', a compression library produced
170+
| by Google Inc, which can be obtained at:
171+
|
172+
| * LICENSE:
173+
| * license/LICENSE.snappy.txt (New BSD License)
174+
| * HOMEPAGE:
175+
| * https://github.com/google/snappy
176+
|
177+
| This product optionally depends on 'JBoss Marshalling', an alternative Java
178+
| serialization API, which can be obtained at:
179+
|
180+
| * LICENSE:
181+
| * license/LICENSE.jboss-marshalling.txt (Apache License 2.0)
182+
| * HOMEPAGE:
183+
| * https://github.com/jboss-remoting/jboss-marshalling
184+
|
185+
| This product optionally depends on 'Caliper', Google's micro-
186+
| benchmarking framework, which can be obtained at:
187+
|
188+
| * LICENSE:
189+
| * license/LICENSE.caliper.txt (Apache License 2.0)
190+
| * HOMEPAGE:
191+
| * https://github.com/google/caliper
192+
|
193+
| This product optionally depends on 'Apache Commons Logging', a logging
194+
| framework, which can be obtained at:
195+
|
196+
| * LICENSE:
197+
| * license/LICENSE.commons-logging.txt (Apache License 2.0)
198+
| * HOMEPAGE:
199+
| * https://commons.apache.org/logging/
200+
|
201+
| This product optionally depends on 'Apache Log4J', a logging framework, which
202+
| can be obtained at:
203+
|
204+
| * LICENSE:
205+
| * license/LICENSE.log4j.txt (Apache License 2.0)
206+
| * HOMEPAGE:
207+
| * https://logging.apache.org/log4j/
208+
|
209+
| This product optionally depends on 'Aalto XML', an ultra-high performance
210+
| non-blocking XML processor, which can be obtained at:
211+
|
212+
| * LICENSE:
213+
| * license/LICENSE.aalto-xml.txt (Apache License 2.0)
214+
| * HOMEPAGE:
215+
| * https://wiki.fasterxml.com/AaltoHome
216+
|
217+
| This product contains a modified version of 'HPACK', a Java implementation of
218+
| the HTTP/2 HPACK algorithm written by Twitter. It can be obtained at:
219+
|
220+
| * LICENSE:
221+
| * license/LICENSE.hpack.txt (Apache License 2.0)
222+
| * HOMEPAGE:
223+
| * https://github.com/twitter/hpack
224+
|
225+
| This product contains a modified version of 'HPACK', a Java implementation of
226+
| the HTTP/2 HPACK algorithm written by Cory Benfield. It can be obtained at:
227+
|
228+
| * LICENSE:
229+
| * license/LICENSE.hyper-hpack.txt (MIT License)
230+
| * HOMEPAGE:
231+
| * https://github.com/python-hyper/hpack/
232+
|
233+
| This product contains a modified version of 'HPACK', a Java implementation of
234+
| the HTTP/2 HPACK algorithm written by Tatsuhiro Tsujikawa. It can be obtained at:
235+
|
236+
| * LICENSE:
237+
| * license/LICENSE.nghttp2-hpack.txt (MIT License)
238+
| * HOMEPAGE:
239+
| * https://github.com/nghttp2/nghttp2/
240+
|
241+
| This product contains a modified portion of 'Apache Commons Lang', a Java library
242+
| provides utilities for the java.lang API, which can be obtained at:
243+
|
244+
| * LICENSE:
245+
| * license/LICENSE.commons-lang.txt (Apache License 2.0)
246+
| * HOMEPAGE:
247+
| * https://commons.apache.org/proper/commons-lang/
248+
|
249+
|
250+
| This product contains the Maven wrapper scripts from 'Maven Wrapper', that provides an easy way to ensure a user has everything necessary to run the Maven build.
251+
|
252+
| * LICENSE:
253+
| * license/LICENSE.mvn-wrapper.txt (Apache License 2.0)
254+
| * HOMEPAGE:
255+
| * https://github.com/takari/maven-wrapper
256+
|
257+
| This product contains the dnsinfo.h header file, that provides a way to retrieve the system DNS configuration on MacOS.
258+
| This private header is also used by Apple's open source
259+
| mDNSResponder (https://opensource.apple.com/tarballs/mDNSResponder/).
260+
|
261+
| * LICENSE:
262+
| * license/LICENSE.dnsinfo.txt (Apple Public Source License 2.0)
263+
| * HOMEPAGE:
264+
| * https://www.opensource.apple.com/source/configd/configd-453.19/dnsinfo/dnsinfo.h
265+
|
266+
| This product optionally depends on 'Brotli4j', Brotli compression and
267+
| decompression for Java., which can be obtained at:
268+
|
269+
| * LICENSE:
270+
| * license/LICENSE.brotli4j.txt (Apache License 2.0)
271+
| * HOMEPAGE:
272+
| * https://github.com/hyperxpro/Brotli4j

flight/flight-integration-tests/pom.xml

+20
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ under the License.
6868

6969
<build>
7070
<plugins>
71+
<!-- TODO exclude LICENSE.txt/NOTICE.txt from non shaded jar -->
7172
<plugin>
73+
<groupId>org.apache.maven.plugins</groupId>
7274
<artifactId>maven-shade-plugin</artifactId>
7375
<executions>
7476
<execution>
@@ -87,9 +89,27 @@ under the License.
8789
<exclude>**/module-info.class</exclude>
8890
</excludes>
8991
</filter>
92+
<filter>
93+
<artifact>*:*</artifact>
94+
<excludes>
95+
<exclude>LICENSE.txt</exclude>
96+
<exclude>NOTICE.txt</exclude>
97+
<exclude>META-INF/*LICENSE*</exclude>
98+
<exclude>META-INF/*NOTICE*</exclude>
99+
<exclude>META-INF/license/*</exclude>
100+
</excludes>
101+
</filter>
90102
</filters>
91103
<transformers>
92104
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"></transformer>
105+
<transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
106+
<resource>META-INF/LICENSE.txt</resource>
107+
<file>src/shade/LICENSE.txt</file>
108+
</transformer>
109+
<transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
110+
<resource>META-INF/NOTICE.txt</resource>
111+
<file>src/shade/NOTICE.txt</file>
112+
</transformer>
93113
</transformers>
94114
</configuration>
95115
</execution>

0 commit comments

Comments
 (0)