Skip to content

GH-1493: Update LICENSE and NOTICE files for the bundled dependencies - #1494

Merged
jbonofre merged 1 commit into
apache:mainfrom
jbonofre:license-notice-refresh
Nov 17, 2026
Merged

jbonofre merged 1 commit into
apache:mainfrom
jbonofre:license-notice-refresh

Conversation

@jbonofre

Copy link
Copy Markdown
Member

What's Changed

The LICENSE.txt and NOTICE.txt files in the shaded artifacts are the only license information these jars carry (the shade filters drop the bundled dependencies' own files), but they were out of date with what the jars contain. This updates them against the jars built from current main:

  • Versions: Netty 4.2.20.Final, gRPC 1.85.1, Protobuf 4.36.2, Jackson 2.23.0, Guava 33.8.0-jre, Gson 2.14.0, Commons (Codec 1.23.0, CLI 1.11.0, Compress 1.28.0, IO 2.20.0, Lang 3.18.0), zstd-jni 1.5.7-26, lz4-java 1.14.0 (LZ4 1.11.0), SLF4J 2.0.20, Avatica 1.29.0, Nimbus OAuth 2.0 SDK 11.39, Bouncy Castle 1.87, Animal Sniffer 1.27, j2objc 3.1. The embedded Netty and gRPC NOTICE texts are regenerated from the upstream files at those versions.
  • Avatica: 1.29.0 shades HttpComponents Client 5.5 / Core 5.3.5 instead of HttpClient 4.5.13, plus Protobuf 3.25.8, Jackson 2.22.2 and jOOU 0.9.4.
  • netty-tcnative-boringssl-static (JDBC driver, integration tests): native libraries statically linked against BoringSSL, now listed with its NOTICE.
  • Jackson Core: FastDoubleParser and Schubfach (MIT, with the Boost / MIT / BSD-2-Clause third-party code of FastDoubleParser) license texts, and the Jackson NOTICE.
  • Netty: license texts of the MIT/BSD code it contains (HPACK, Webbit, jbzip2, libdivsufsort, jfastlz).
  • Missing entries: ASM (BSD-3-Clause, with text), Caffeine, Nimbus JOSE+JWT, Nimbus Content Type and LangTag, JSON Smart, proto-google-common-protos, Perfmark, JCIP Annotations, JSpecify, JSR305, Android annotations; Zstandard (in zstd-jni native libraries) and Animal Sniffer (MIT) license texts; the Netty and Guava code copied into Arrow classes in the vector and tools jars.
  • Root LICENSE.txt: list MutableWrappedByteBuf, a copy of Netty's DuplicatedByteBuf, and fix the Guava copyright year.
  • NOTICE files: copyright year 2016-2026.

To verify, I built the four shaded jars and checked that every class package and native library in each jar maps to an entry of its LICENSE.txt. RAT passes.

Not covered here: the JNI jars (arrow-dataset, arrow-gandiva, arrow-orc) ship native libraries statically linking third-party C/C++ libraries with only the generic ASF LICENSE/NOTICE. That needs a JNI-specific LICENSE and should be handled separately.

Closes #1493.

…encies

Update the LICENSE and NOTICE files of the shaded artifacts to match
what they bundle:

- Update the versions of the bundled dependencies.
- Replace HttpClient 4.5.13 with the HttpComponents 5 libraries, Protobuf,
  Jackson and jOOU now shaded in Avatica.
- Add netty-tcnative-boringssl-static (BoringSSL native libraries) and
  its NOTICE.
- Add the FastDoubleParser and Schubfach license texts bundled by Jackson
  Core, and the Jackson NOTICE.
- Add the license texts of the MIT and BSD code contained in Netty.
- Add ASM, Caffeine, Nimbus JOSE+JWT, JSON Smart and the other missing
  dependencies, and the Animal Sniffer and Zstandard license texts.
- List MutableWrappedByteBuf (copied from Netty) in the root LICENSE.
- Update the copyright year in the NOTICE files.

Closes apache#1493.
@jbonofre jbonofre added the chore PRs that make misc changes. label Nov 16, 2026
@jbonofre jbonofre added this to the 20.0.0 milestone Nov 16, 2026
@jbonofre
jbonofre merged commit e698184 into apache:main Nov 17, 2026
22 of 23 checks passed
@jbonofre
jbonofre deleted the license-notice-refresh branch November 17, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore PRs that make misc changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LICENSE and NOTICE files are out of date with the bundled dependencies

2 participants