File tree Expand file tree Collapse file tree 3 files changed +47
-1
lines changed Expand file tree Collapse file tree 3 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 3838 <dependency >
3939 <groupId >com.spotify</groupId >
4040 <artifactId >docker-client</artifactId >
41+ <classifier >shaded</classifier >
4142 <scope >test</scope >
43+ <!--
44+ See https://github.com/spotify/docker-client/pull/272#issuecomment-155249101
45+ for an explanation of why these exclusions are (necessarily) a mess.
46+ -->
47+ <exclusions >
48+ <exclusion >
49+ <groupId >com.fasterxml.jackson.jaxrs</groupId >
50+ <artifactId >jackson-jaxrs-json-provider</artifactId >
51+ </exclusion >
52+ <exclusion >
53+ <groupId >com.fasterxml.jackson.datatype</groupId >
54+ <artifactId >jackson-datatype-guava</artifactId >
55+ </exclusion >
56+ <exclusion >
57+ <groupId >com.fasterxml.jackson.core</groupId >
58+ <artifactId >jackson-databind</artifactId >
59+ </exclusion >
60+ <exclusion >
61+ <groupId >org.glassfish.jersey.core</groupId >
62+ <artifactId >jersey-client</artifactId >
63+ </exclusion >
64+ <exclusion >
65+ <groupId >org.glassfish.jersey.connectors</groupId >
66+ <artifactId >jersey-apache-connector</artifactId >
67+ </exclusion >
68+ <exclusion >
69+ <groupId >org.glassfish.jersey.media</groupId >
70+ <artifactId >jersey-media-json-jackson</artifactId >
71+ </exclusion >
72+ </exclusions >
73+ </dependency >
74+ <!-- Necessary in order to avoid errors in log messages: -->
75+ <dependency >
76+ <groupId >com.google.guava</groupId >
77+ <artifactId >guava</artifactId >
78+ <version >18.0</version >
4279 </dependency >
4380 <dependency >
4481 <groupId >org.apache.spark</groupId >
Original file line number Diff line number Diff line change 781781 <groupId >com.spotify</groupId >
782782 <artifactId >docker-client</artifactId >
783783 <classifier >shaded</classifier >
784- <version >3.1.10 </version >
784+ <version >3.2.1 </version >
785785 <scope >test</scope >
786786 <exclusions >
787787 <exclusion >
Original file line number Diff line number Diff line change @@ -242,6 +242,8 @@ object SparkBuild extends PomBuild {
242242
243243 enable(Flume .settings)(streamingFlumeSink)
244244
245+ enable(DockerIntegrationTests .settings)(dockerIntegrationTests)
246+
245247
246248 /**
247249 * Adds the ability to run the spark shell directly from SBT without building an assembly
@@ -293,6 +295,13 @@ object Flume {
293295 lazy val settings = sbtavro.SbtAvro .avroSettings
294296}
295297
298+ object DockerIntegrationTests {
299+ // This serves to override the override specified in DependencyOverrides:
300+ lazy val settings = Seq (
301+ dependencyOverrides += " com.google.guava" % " guava" % " 18.0"
302+ )
303+ }
304+
296305/**
297306 * Overrides to work around sbt's dependency resolution being different from Maven's.
298307 */
You can’t perform that action at this time.
0 commit comments