[Java] Shade jackson to avoid conflict. (#24535)

Jackson is a widely-used utility. User from Ant reports the jackson class is conflicted between Ray jar and user's jar.
This PR shade the jackson in Ray jar to avoid the conflict.

Co-authored-by: Kai Yang <kfstorm@outlook.com>
This commit is contained in:
Qing Wang 2022-05-07 10:44:31 +08:00 committed by GitHub
parent 918d3601c6
commit ea6c2d634b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,6 @@
rule com.google.common.** io.ray.shaded.com.google.common.@1
rule com.google.protobuf.** io.ray.shaded.com.google.protobuf.@1
rule com.google.thirdparty.** io.ray.shaded.com.google.thirdparty.@1
# jackson jar is introduced in `de.ruedigermoeller:fst`. It's easy to be
# conflict with users'.
rule com.fasterxml.jackson.** io.ray.shaded.com.fasterxml.jackson.@1