Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

Commit

Permalink
Relocate guava classes with maven shade plugin (#850)
Browse files Browse the repository at this point in the history
* Relocate guava classes with maven shade plugin

to avoid class conflicts with other guava versions.

Fixes #826

* fix pattern for Guava classes to relocate
  • Loading branch information
davidxia authored and mattnworb committed Aug 7, 2017
1 parent 26911bb commit 67d8d0e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@
<include>org.glassfish.**</include>
<include>com.github.jnr:*</include>
<include>org.ow2.asm:*</include>
<include>com.google.guava:**</include>
</includes>
</artifactSet>
<relocations>
Expand All @@ -338,6 +339,10 @@
<pattern>com.fasterxml.jackson</pattern>
<shadedPattern>com.spotify.docker.client.shaded.com.fasterxml.jackson</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.common</pattern>
<shadedPattern>com.spotify.docker.client.shaded.com.google.common</shadedPattern>
</relocation>
</relocations>
<shadedArtifactAttached>true</shadedArtifactAttached>
</configuration>
Expand Down

0 comments on commit 67d8d0e

Please sign in to comment.