kevinjqliu opened a new pull request, #16216:
URL: https://github.com/apache/iceberg/pull/16216

   Fix LICENSE and NOTICE declarations for flink-runtime shadow JARs (v1.20, 
v2.0, v2.1) to accurately represent bundled contents, as required by [ASF 
licensing policy](https://infra.apache.org/licensing-howto.html).
   
   All three modules received identical changes — they bundle the same 
dependency set (differing only in the Flink version).
   
   ## Build and verify
   
   ```bash
   # Build shadow JARs
   ./gradlew -DflinkVersions=1.20,2.0,2.1 \
             :iceberg-flink:iceberg-flink-runtime-1.20:shadowJar \
             :iceberg-flink:iceberg-flink-runtime-2.0:shadowJar \
             :iceberg-flink:iceberg-flink-runtime-2.1:shadowJar -x test
   ```
   
   ## LICENSE changes
   
   - **Added FastDoubleParser (MIT)** — Shaded into Jackson Core at 
`com/fasterxml/jackson/core/internal/shaded/fdp/` (104 classes). **Required**: 
Category B license per 
[resolved.html](https://www.apache.org/legal/resolved.html); full MIT text must 
be included.
     ```bash
     jar tf 
flink/v1.20/flink-runtime/build/libs/iceberg-flink-runtime-1.20-1.11.0-SNAPSHOT.jar
 | grep -c "com/fasterxml/jackson/core/internal/shaded/fdp"
     jar tf 
flink/v2.0/flink-runtime/build/libs/iceberg-flink-runtime-2.0-1.11.0-SNAPSHOT.jar
 | grep -c "com/fasterxml/jackson/core/internal/shaded/fdp"
     jar tf 
flink/v2.1/flink-runtime/build/libs/iceberg-flink-runtime-2.1-1.11.0-SNAPSHOT.jar
 | grep -c "com/fasterxml/jackson/core/internal/shaded/fdp"
     # 104
     unzip -p 
flink/v1.20/flink-runtime/build/libs/iceberg-flink-runtime-1.20-1.11.0-SNAPSHOT.jar
 META-INF/FastDoubleParser-NOTICE
     unzip -p 
flink/v2.0/flink-runtime/build/libs/iceberg-flink-runtime-2.0-1.11.0-SNAPSHOT.jar
 META-INF/FastDoubleParser-NOTICE
     unzip -p 
flink/v2.1/flink-runtime/build/libs/iceberg-flink-runtime-2.1-1.11.0-SNAPSHOT.jar
 META-INF/FastDoubleParser-NOTICE
     ```
     Upstream: 
https://github.com/wrandelshofer/FastDoubleParser/blob/main/LICENSE
   
   - **Added fast_float (MIT)** — Bundled transitively by FastDoubleParser. 
**Required**: separate MIT copyright holder (The fast_float authors).
     Upstream: https://github.com/fastfloat/fast_float/blob/main/LICENSE-MIT
   
   - **Added bigint (BSD 2-Clause)** — Bundled transitively by 
FastDoubleParser. **Required**: Category B license; full BSD 2-Clause text 
included.
     Upstream: https://github.com/tbuktu/bigint/blob/master/LICENSE
   
   - **Added EPL 2.0 full text for JTS Topology Suite** — JTS was already 
declared in LICENSE (reference only) but the full EPL 2.0 text was missing. 795 
classes at `org/locationtech/jts/`. **Required**: Category B license requires 
full text.
     ```bash
     jar tf 
flink/v1.20/flink-runtime/build/libs/iceberg-flink-runtime-1.20-1.11.0-SNAPSHOT.jar
 | grep -c "org/locationtech/jts"
     jar tf 
flink/v2.0/flink-runtime/build/libs/iceberg-flink-runtime-2.0-1.11.0-SNAPSHOT.jar
 | grep -c "org/locationtech/jts"
     jar tf 
flink/v2.1/flink-runtime/build/libs/iceberg-flink-runtime-2.1-1.11.0-SNAPSHOT.jar
 | grep -c "org/locationtech/jts"
     # 795
     ```
     Upstream: https://github.com/locationtech/jts/blob/master/LICENSE_EPL
   
   - **Added Mozilla Public Suffix List (MPL 2.0)** — Data file 
`org/publicsuffix/list/effective_tld_names.dat` bundled by Apache 
HttpComponents Client. **Required**: Category B; full MPL 2.0 text included.
     ```bash
     jar tf 
flink/v1.20/flink-runtime/build/libs/iceberg-flink-runtime-1.20-1.11.0-SNAPSHOT.jar
 | grep publicsuffix
     jar tf 
flink/v2.0/flink-runtime/build/libs/iceberg-flink-runtime-2.0-1.11.0-SNAPSHOT.jar
 | grep publicsuffix
     jar tf 
flink/v2.1/flink-runtime/build/libs/iceberg-flink-runtime-2.1-1.11.0-SNAPSHOT.jar
 | grep publicsuffix
     # org/publicsuffix/list/effective_tld_names.dat
     ```
     Upstream: https://mozilla.org/MPL/2.0/
   
   - **Fixed capitalization**: `Fastutil` → `fastutil`, `Eclipse Microprofile` 
→ `Eclipse MicroProfile` — for consistency with upstream project names.
   
   ## NOTICE changes
   
   - **Added Apache Flink (Dropwizard Metrics) NOTICE propagation** — 
`flink-metrics-dropwizard` contributes 12 classes at 
`org/apache/flink/dropwizard/`. **Required**: upstream Apache project NOTICE 
must be reproduced per ASF policy.
     ```bash
     jar tf 
flink/v1.20/flink-runtime/build/libs/iceberg-flink-runtime-1.20-1.11.0-SNAPSHOT.jar
 | grep -c "org/apache/flink/dropwizard"
     jar tf 
flink/v2.0/flink-runtime/build/libs/iceberg-flink-runtime-2.0-1.11.0-SNAPSHOT.jar
 | grep -c "org/apache/flink/dropwizard"
     jar tf 
flink/v2.1/flink-runtime/build/libs/iceberg-flink-runtime-2.1-1.11.0-SNAPSHOT.jar
 | grep -c "org/apache/flink/dropwizard"
     # 12
     ```
     Upstream: https://github.com/apache/flink/blob/master/NOTICE
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to