[ https://issues.apache.org/jira/browse/SPARK-27745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcelo Vanzin resolved SPARK-27745. ------------------------------------ Resolution: Not A Bug You need to run {{./dev/change-scala-version.sh}} first. Pretty sure this is in the documentation. > build/mvn take wrong scala version when compile for scala 2.12 > -------------------------------------------------------------- > > Key: SPARK-27745 > URL: https://issues.apache.org/jira/browse/SPARK-27745 > Project: Spark > Issue Type: Bug > Components: Build > Affects Versions: 2.4.3 > Reporter: Izek Greenfield > Priority: Major > > in `build/mvn` > line: > local scala_binary_version=`grep "scala.binary.version" "${_DIR}/../pom.xml" > | head -n1 | awk -F '[<>]' '{print $3}'` > it grep the pom and there will be 2.11 and if I set -Pscala-2.12 it will take > 2.11 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org