Closed nmeln closed 6 years ago
I would be happy if someone can help implementing this. Would be very useful
I can try to implement this on weekend
It should be as easy as substituting dependency:
-Seq("com.spotify" % "docker-client" % "8.11.5",
+Seq("com.spotify" % "docker-client" % "8.11.5" classifier "shaded",
I guess not everyone might want it shaded. I was more thinking of providing shaded
version of docker-testkit itself
You can do it as Spotify did: Publish two versions of the lib.
Spotify is using Maven. Can someone write it in SBT so that we publish with shaded
classifier?..
@viktortnk Any objections to the way I did it in #124?
Has anybody looked at #124 ?
https://github.com/spotify/docker-client provides shaded JAR which helps when you have Jersey 1.x in classpath, which is common with Hadoop dependencies.
I've just run into this issue. Tried excluding
docker-client
fromdocker-testkit-impl-spotify
and adding its shaded jar separately, but keep getting ClassCastExceptions...