This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-2.4 by this push:
     new 7c9bdd7  [SPARK-29560][BUILD] Add typesafe bintray repo for 
sbt-mima-plugin
7c9bdd7 is described below

commit 7c9bdd7b83476b4f223c3c482b1559eee972f3c1
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Tue Oct 22 16:30:29 2019 -0700

    [SPARK-29560][BUILD] Add typesafe bintray repo for sbt-mima-plugin
    
    This add `typesafe` bintray repo for `sbt-mima-plugin`.
    
    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]      ::::::::::::::::::::::::::::::::::::::::::::::
    ```
    
    No.
    
    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 #26217 from dongjoon-hyun/SPARK-29560.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit f23c5d7f6705348ddeac0b714b29374cba3a4efe)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 project/plugins.sbt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/project/plugins.sbt b/project/plugins.sbt
index cda4739..96640a0 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -15,6 +15,9 @@ addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % 
"0.9.0")
 
 addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
 
+// SPARK-29560 Only sbt-mima-plugin needs this repo
+resolvers += Resolver.url("bintray",
+  new 
java.net.URL("https://dl.bintray.com/typesafe/sbt-plugins";))(Resolver.defaultIvyPatterns)
 addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.17")
 
 // sbt 1.0.0 support: https://github.com/AlpineNow/junit_xml_listener/issues/6


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to