diff options
Diffstat (limited to 'project')
-rw-r--r-- | project/SparkBuild.scala | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index 75c36930de..b75ed13a78 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -207,7 +207,8 @@ object SparkBuild extends PomBuild { // Note ordering of these settings matter. /* Enable shared settings on all projects */ (allProjects ++ optionallyEnabledProjects ++ assemblyProjects ++ Seq(spark, tools)) - .foreach(enable(sharedSettings ++ ExcludedDependencies.settings ++ Revolver.settings)) + .foreach(enable(sharedSettings ++ DependencyOverrides.settings ++ + ExcludedDependencies.settings ++ Revolver.settings)) /* Enable tests settings for all projects except examples, assembly and tools */ (allProjects ++ optionallyEnabledProjects).foreach(enable(TestSettings.settings)) @@ -292,6 +293,14 @@ object Flume { } /** + * Overrides to work around sbt's dependency resolution being different from Maven's. + */ +object DependencyOverrides { + lazy val settings = Seq( + dependencyOverrides += "com.google.guava" % "guava" % "14.0.1") +} + +/** This excludes library dependencies in sbt, which are specified in maven but are not needed by sbt build. */ |