Yang Jie created SPARK-34774:
--------------------------------

             Summary: The `change-scala- version.sh` script not replaced 
scala.version property correctly
                 Key: SPARK-34774
                 URL: https://issues.apache.org/jira/browse/SPARK-34774
             Project: Spark
          Issue Type: Improvement
          Components: Build
    Affects Versions: 3.2.0
            Reporter: Yang Jie


Execute the following commands in order
 # dev/change-scala-version.sh 2.13

 # dev/change-scala-version.sh 2.12

 # git status

there will generate git diff as follow:
{code:java}
diff --git a/pom.xml b/pom.xml
index ddc4ce2f68..f43d8c8f78 100644
--- a/pom.xml
+++ b/pom.xml
@@ -162,7 +162,7 @@
     <commons.math3.version>3.4.1</commons.math3.version>
     <!-- managed up from 3.2.1 for SPARK-11652 -->
     <commons.collections.version>3.2.2</commons.collections.version>
-    <scala.version>2.12.10</scala.version>
+    <scala.version>2.13.5</scala.version>
     <scala.binary.version>2.12</scala.binary.version>
     <scalatest-maven-plugin.version>2.0.0</scalatest-maven-plugin.version>
     <scalafmt.parameters>--test</scalafmt.parameters>
{code}
seem 'scala.version' property was not replaced correctly



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to