FANNG1 commented on PR #5737:
URL: https://github.com/apache/gravitino/pull/5737#issuecomment-2514020529
seems there are class conflictes with netty in Gravitino and netty in azure,
My suggestion is to shadow the related packages in `azure-bundle` like what is
done in gcp-bundle
```
tasks.withType(ShadowJar::class.java) {
isZip64 = true
configurations = listOf(project.configurations.runtimeClasspath.get())
archiveClassifier.set("")
// Relocate dependencies to avoid conflicts
relocate("org.apache.httpcomponents",
"org.apache.gravitino.gcp.shaded.org.apache.httpcomponents")
relocate("org.apache.commons",
"org.apache.gravitino.gcp.shaded.org.apache.commons")
relocate("com.google", "org.apache.gravitino.gcp.shaded.com.google")
relocate("com.fasterxml", "org.apache.gravitino.gcp.shaded.com.fasterxml")
}
```
--
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]