You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2023/04/07 19:54:56 UTC

[spark] branch branch-3.2 updated: [SPARK-43069][BUILD] Use `sbt-eclipse` instead of `sbteclipse-plugin`

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

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


The following commit(s) were added to refs/heads/branch-3.2 by this push:
     new d9ee5084609 [SPARK-43069][BUILD] Use `sbt-eclipse` instead of `sbteclipse-plugin`
d9ee5084609 is described below

commit d9ee508460992fe9ec5471c1f7afaea4667a5e31
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Fri Apr 7 12:54:05 2023 -0700

    [SPARK-43069][BUILD] Use `sbt-eclipse` instead of `sbteclipse-plugin`
    
    ### What changes were proposed in this pull request?
    
    This PR aims to use `sbt-eclipse` instead of `sbteclipse-plugin`.
    
    ### Why are the changes needed?
    
    Thanks to SPARK-34959, Apache Spark 3.2+ uses SBT 1.5.0 and we can use `set-eclipse` instead of old `sbteclipse-plugin`.
    - https://github.com/sbt/sbt-eclipse/releases/tag/6.0.0
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, this is a dev-only plugin.
    
    ### How was this patch tested?
    
    Pass the CIs and manual tests.
    
    ```
    $ build/sbt eclipse
    Using /Users/dongjoon/.jenv/versions/1.8 as default JAVA_HOME.
    Note, this will be overridden by -java-home if it is set.
    Using SPARK_LOCAL_IP=localhost
    Attempting to fetch sbt
    Launching sbt from build/sbt-launch-1.8.2.jar
    [info] welcome to sbt 1.8.2 (AppleJDK-8.0.302.8.1 Java 1.8.0_302)
    [info] loading settings for project spark-merge-build from plugins.sbt ...
    [info] loading project definition from /Users/dongjoon/APACHE/spark-merge/project
    [info] Updating
    https://repo1.maven.org/maven2/com/github/sbt/sbt-eclipse_2.12_1.0/6.0.0/sbt-eclipse-6.0.0.pom
      100.0% [##########] 2.5 KiB (4.5 KiB / s)
    ...
    ```
    
    Closes #40708 from dongjoon-hyun/SPARK-43069.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
    (cherry picked from commit 9cba5529d1fc3faf6b743a632df751d84ec86a07)
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 project/plugins.sbt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/project/plugins.sbt b/project/plugins.sbt
index 9e86e329640..726425e03f5 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -25,7 +25,7 @@ libraryDependencies += "com.google.guava" % "guava" % "23.0"
 
 addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.15.0")
 
-addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.2.4")
+addSbtPlugin("com.github.sbt" % "sbt-eclipse" % "6.0.0")
 
 addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org