Skip to content

Commit

Permalink
use dependencyOverrides
Browse files Browse the repository at this point in the history
  • Loading branch information
cxzl25 committed Oct 10, 2023
1 parent b1406fd commit 938459b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions project/CelebornBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ object Dependencies {
val hadoopClientApi = "org.apache.hadoop" % "hadoop-client-api" % hadoopVersion
val hadoopClientRuntime = "org.apache.hadoop" % "hadoop-client-runtime" % hadoopVersion
val hadoopMapreduceClientApp = "org.apache.hadoop" % "hadoop-mapreduce-client-app" % hadoopVersion excludeAll(
ExclusionRule("org.apache.commons", "commons-compress"),
ExclusionRule("commons-logging", "commons-logging"),
ExclusionRule("com.google.guava", "guava"),
ExclusionRule("com.fasterxml.jackson.core", "jackson-annotations"),
ExclusionRule("com.fasterxml.jackson.core", "jackson-databind"),
Expand Down Expand Up @@ -155,6 +153,8 @@ object CelebornCommonSettings {
Compile / compile / javacOptions ++= Seq("-target", "1.8"),

dependencyOverrides := Seq(
Dependencies.commonsCompress,
Dependencies.commonsLogging,
Dependencies.findbugsJsr305,
Dependencies.slf4jApi),

Expand Down Expand Up @@ -906,8 +906,6 @@ object MRClientProjects {
.settings(
commonSettings,
libraryDependencies ++= Seq(
Dependencies.commonsCompress,
Dependencies.commonsLogging,
Dependencies.hadoopClientApi,
Dependencies.hadoopClientRuntime,
Dependencies.hadoopMapreduceClientApp
Expand Down

0 comments on commit 938459b

Please sign in to comment.