geyanggang opened a new pull request, #14965: URL: https://github.com/apache/gravitino/pull/14965
### What changes were proposed in this pull request? - Add a `nimbus-jose-jwt` constraint (`libs.nimbus.jose.jwt`, 10.9) in `iceberg/iceberg-common/build.gradle.kts`, next to the existing `libthrift` and `xnio-api` constraints. - Remove the `JCIP Annotations` entry from `LICENSE.iceberg`, since it is no longer bundled in the Iceberg REST server package. - Remove the `[email protected]` purl from the `.github/trivy/trivyignore.yaml` entry. The `9.8.1` purl stays, it is a copy shaded inside `hadoop-client-runtime`. ### Why are the changes needed? `nimbus-jose-jwt` 9.30.1 came in through `kerb-simplekdc` -> `kerb-client` -> `token-provider` (Kerby 2.0.3). The server already uses 10.9, so this aligns `catalogs/lakehouse-iceberg/libs` and the Iceberg REST server with it. The only change to the runtime classpath of both modules is `nimbus-jose-jwt` 9.30.1 -> 10.9 and the removal of `com.github.stephenc.jcip:jcip-annotations` (10.x does not depend on it). Fix: #14964 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? - Compared the `runtimeClasspath` of `:catalogs:catalog-lakehouse-iceberg` and `:iceberg:iceberg-rest-server` before and after: only the two changes above. - `dependencyInsight` shows 10.9 for `:server`, `:iceberg:iceberg-common`, `:catalogs:catalog-lakehouse-iceberg` and `:iceberg:iceberg-rest-server`. - Checked all 54 `com.nimbusds` method, constructor and field references in `token-provider-2.0.3.jar` against the 10.9 jar by reflection: none missing. - `./gradlew spotlessCheck :iceberg:iceberg-common:test :catalogs:catalog-lakehouse-iceberg:test :iceberg:iceberg-rest-server:test -PskipITs` passes. - `.github/trivy/scan.sh check-exemptions` passes. -- 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]
