This is an automated email from the ASF dual-hosted git repository.

mchades pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/main by this push:
     new 083050e156 [#15008] improvement(bundles): Update jettison in the 
Iceberg Aliyun bundle to 1.5.4 (#15009)
083050e156 is described below

commit 083050e156d1657149e40cdfca6526f7928428df
Author: geyanggang <[email protected]>
AuthorDate: Tue Nov 17 18:19:29 2026 +0800

    [#15008] improvement(bundles): Update jettison in the Iceberg Aliyun bundle 
to 1.5.4 (#15009)
    
    ### What changes were proposed in this pull request?
    - Declare `libs.jettison` (1.5.4) directly in
    `bundles/iceberg-aliyun-bundle/build.gradle.kts`.
    - Remove the `[email protected]` entries from
    `.github/trivy/trivyignore.yaml`.
    ### Why are the changes needed?
    `aliyun-sdk-oss` 3.10.2 pulls in `jettison` 1.1. The `aliyun-bundle`
    already resolves `jettison` to 1.5.4 through `hadoop-aliyun`, so this
    aligns the Iceberg Aliyun bundle with it.
    Fix: #15008
    ### Does this PR introduce _any_ user-facing change?
    No.
    ### How was this patch tested?
    - `dependencyInsight` on `:bundles:iceberg-aliyun-bundle` shows
    `jettison:1.1 -> 1.5.4`. The generated POM lists `jettison:1.5.4` as a
    runtime dependency.
    - `./gradlew :bundles:iceberg-aliyun-bundle:build -PskipITs` passes. The
    shadow jar contains `META-INF/maven/org.codehaus.jettison/jettison`
    1.5.4.
    - `aliyun-sdk-oss` 3.10.2 uses only `JSONObject` (`new
    JSONObject(String)`, `new JSONObject(Map)`, `has`, `get`, `getString`,
    `keys`, `toString`) and `JSONException`. A smoke test against the shadow
    jar exercised all of them.
    - `spotlessCheck`, `.github/trivy/scan.sh check-exemptions` and `node
    --test .github/scripts/tests/*.test.cjs` pass.
---
 .github/trivy/trivyignore.yaml                 | 21 ---------------------
 bundles/iceberg-aliyun-bundle/build.gradle.kts |  3 +++
 2 files changed, 3 insertions(+), 21 deletions(-)

diff --git a/.github/trivy/trivyignore.yaml b/.github/trivy/trivyignore.yaml
index d25d10e7f3..70a266b825 100644
--- a/.github/trivy/trivyignore.yaml
+++ b/.github/trivy/trivyignore.yaml
@@ -726,27 +726,6 @@ vulnerabilities:
       - pkg:maven/org.apache.thrift/[email protected]
     expired_at: 2027-02-07
     statement: "Pre-existing finding, tracked in apache/gravitino#14777."
-  # org.codehaus.jettison/jettison
-  - id: CVE-2022-40150
-    purls:
-      - pkg:maven/org.codehaus.jettison/[email protected]
-    expired_at: 2027-02-07
-    statement: "Pre-existing finding, tracked in apache/gravitino#14777."
-  - id: CVE-2022-45685
-    purls:
-      - pkg:maven/org.codehaus.jettison/[email protected]
-    expired_at: 2027-02-07
-    statement: "Pre-existing finding, tracked in apache/gravitino#14777."
-  - id: CVE-2022-45693
-    purls:
-      - pkg:maven/org.codehaus.jettison/[email protected]
-    expired_at: 2027-02-07
-    statement: "Pre-existing finding, tracked in apache/gravitino#14777."
-  - id: CVE-2023-1436
-    purls:
-      - pkg:maven/org.codehaus.jettison/[email protected]
-    expired_at: 2027-02-07
-    statement: "Pre-existing finding, tracked in apache/gravitino#14777."
   # org.eclipse.jetty/jetty-http
   - id: CVE-2026-2332
     purls:
diff --git a/bundles/iceberg-aliyun-bundle/build.gradle.kts 
b/bundles/iceberg-aliyun-bundle/build.gradle.kts
index cbe58b5cf3..fbedb6f95d 100644
--- a/bundles/iceberg-aliyun-bundle/build.gradle.kts
+++ b/bundles/iceberg-aliyun-bundle/build.gradle.kts
@@ -25,6 +25,9 @@ plugins {
 }
 
 dependencies {
+  // aliyun-sdk-oss 3.10.2 pulls in jettison 1.1. Declare it directly so that 
both the shaded jar
+  // and the published POM resolve the version in the catalog.
+  implementation(libs.jettison)
   implementation(libs.aliyun.credentials.sdk)
   implementation(libs.aliyun.sdk.oss)
   // Aliyun oss SDK depends on this package, and JDK >= 9 requires manual add

Reply via email to