Skip to content

Commit

Permalink
[Java] Shade jackson to avoid conflict. (ray-project#24535)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jovany-wang and kfstorm authored May 7, 2022
1 parent 918d360 commit ea6c2d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions java/shade_rule
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ea6c2d6

Please sign in to comment.