You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kousuke Saruta (Jira)" <ji...@apache.org> on 2021/03/17 07:24:00 UTC

[jira] [Updated] (SPARK-34773) change-scala-version.sh fails to modify pom.xml if it changes the version from 2.13 to 2.12

     [ https://issues.apache.org/jira/browse/SPARK-34773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kousuke Saruta updated SPARK-34773:
-----------------------------------
    Summary: change-scala-version.sh fails to modify pom.xml if it changes the version from 2.13 to 2.12  (was: change-scala-version fails to modify pom.xml if it changes the version from 2.13 to 2.12)

> change-scala-version.sh fails to modify pom.xml if it changes the version from 2.13 to 2.12
> -------------------------------------------------------------------------------------------
>
>                 Key: SPARK-34773
>                 URL: https://issues.apache.org/jira/browse/SPARK-34773
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.2.0
>            Reporter: Kousuke Saruta
>            Assignee: Kousuke Saruta
>            Priority: Minor
>
> If we change the Scala version to 2.13 and then change the version to 2.12 using change-scala-version, it fails to modify pom.xml and fails to build.
> {code}
> $ dev/change-scala-version.sh 2.13
> $ dev/change-scala-version.sh 2.12
> $ git diff pom.xml
> diff --git a/pom.xml b/pom.xml
> index 2efa3491a6..79994d0c44 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}



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

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