mchades commented on code in PR #15009:
URL: https://github.com/apache/gravitino/pull/15009#discussion_r4597004292


##########
bundles/iceberg-aliyun-bundle/build.gradle.kts:
##########
@@ -25,6 +25,11 @@ plugins {
 }
 
 dependencies {
+  // aliyun-sdk-oss 3.10.2 pulls in jettison 1.1. Raise it to the version in 
the catalog, which is
+  // also the version the aliyun-bundle resolves through hadoop-aliyun.
+  constraints {
+    implementation(libs.jettison)
+  }

Review Comment:
   This constraint upgrades the shaded JAR to Jettison 1.5.4. In the generated 
POM it becomes a `dependencyManagement` entry, so a Maven project depending on 
this bundle still gets `jettison-1.1.jar` on its runtime classpath through 
`aliyun-sdk-oss:3.10.2`. I verified with Maven 3.8.8 and 3.9.3 that declaring 
Jettison directly also resolves 1.5.4 for the consumer.
   
   ```suggestion
     implementation(libs.jettison)
   ```



-- 
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]

Reply via email to