include asm and apache httpcomponents jar files for shading to avoid interop issues while using docker-client library
<include>com.github.jnr:*</include>
<include>org.ow2.asm:*</include>
<include>com.google.guava:**</include>
+ <include>org.apache.httpcomponents:httpclient</include>
+ <include>org.apache.httpcomponents:httpcore</include>
+ <include>asm:asm</include>
</includes>
</artifactSet>
<relocations>
<pattern>com.google.common</pattern>
<shadedPattern>com.spotify.docker.client.shaded.com.google.common</shadedPattern>
</relocation>
+ <relocation>
+ <pattern>org.apache.http</pattern>
+ <shadedPattern>com.spotify.docker.client.shaded.org.apache.http</shadedPattern>
+ </relocation>
+ <relocation>
+ <pattern>org.objectweb.asm</pattern>
+ <shadedPattern>com.spotify.docker.client.shaded.org.objectweb.asm</shadedPattern>
+ </relocation>
</relocations>
<shadedArtifactAttached>true</shadedArtifactAttached>
</configuration>
