Skip to content

Commit 1270813

Browse files
dongjoon-hyunWilli Raschkowski
authored andcommitted
[SPARK-29560][BUILD] Add typesafe bintray repo for sbt-mima-plugin
### What changes were proposed in this pull request? This add `typesafe` bintray repo for `sbt-mima-plugin`. ### Why are the changes needed? Since Oct 21, the following plugin causes [Jenkins failures](https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-branch-2.4-test-sbt-hadoop-2.6/611/console ) due to the missing jar. - `branch-2.4`: `sbt-mima-plugin:0.1.17` is missing. - `master`: `sbt-mima-plugin:0.3.0` is missing. These versions of `sbt-mima-plugin` seems to be removed from the old repo. ``` $ rm -rf ~/.ivy2/ $ build/sbt scalastyle test:scalastyle ... [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: com.typesafe#sbt-mima-plugin;0.1.17: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: ``` ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Check `GitHub Action` linter result. This PR should pass. Or, manual check. (Note that Jenkins PR builder didn't fail until now due to the local cache.) Closes apache#26217 from dongjoon-hyun/SPARK-29560. Authored-by: Dongjoon Hyun <dhyun@apple.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
1 parent 8a6fab4 commit 1270813

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

project/plugins.sbt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
resolvers += Resolver.url(
2-
"bintray-typesafe-sbt-plugins",
3-
url("http://dl.bintray.com/typesafe/sbt-plugins"))(
4-
Resolver.ivyStylePatterns)
5-
61
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.0")
72

83
addSbtPlugin("com.etsy" % "sbt-checkstyle-plugin" % "3.1.1")
@@ -22,6 +17,9 @@ addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.2")
2217

2318
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
2419

20+
// SPARK-29560 Only sbt-mima-plugin needs this repo
21+
resolvers += Resolver.url("bintray",
22+
new java.net.URL("https://dl.bintray.com/typesafe/sbt-plugins"))(Resolver.defaultIvyPatterns)
2523
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.3.0")
2624

2725
// sbt 1.0.0 support: https://github.com/AlpineNow/junit_xml_listener/issues/6

0 commit comments

Comments
 (0)