This is an automated email from the ASF dual-hosted git repository.
garyw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mnemonic.git
The following commit(s) were added to refs/heads/master by this push:
new c07d99e MNEMONIC-582: Spark compilation failure due to scala version
issues
c07d99e is described below
commit c07d99e12606346f6f41f450ac657a73150b9263
Author: Yanhui Zhao <[email protected]>
AuthorDate: Thu Dec 31 13:03:24 2020 -0800
MNEMONIC-582: Spark compilation failure due to scala version issues
Signed-off-by: Yanhui Zhao <[email protected]>
---
mnemonic-benches/mnemonic-spark-kmeans-bench/pom.xml | 10 ++--------
mnemonic-spark/pom.xml | 4 ++--
2 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/mnemonic-benches/mnemonic-spark-kmeans-bench/pom.xml
b/mnemonic-benches/mnemonic-spark-kmeans-bench/pom.xml
index 4514996..1e38fa5 100644
--- a/mnemonic-benches/mnemonic-spark-kmeans-bench/pom.xml
+++ b/mnemonic-benches/mnemonic-spark-kmeans-bench/pom.xml
@@ -37,7 +37,7 @@
<input></input>
<output></output>
<spark.version>2.2.0</spark.version>
- <scala.version>2.11.8</scala.version>
+ <scala.version>2.11.12</scala.version>
<scala.binary.version>2.11</scala.binary.version>
<scalatest.version>3.0.1</scalatest.version>
<spark-scope>provided</spark-scope>
@@ -57,12 +57,6 @@
<scope>${spark-scope}</scope>
</dependency>
<dependency>
- <groupId>org.apache.spark</groupId>
- <artifactId>spark-mllib_${scala.binary.version}</artifactId>
- <version>${spark.version}</version>
- <scope>${spark-scope}</scope>
- </dependency>
- <dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-compiler</artifactId>
<version>${scala.version}</version>
@@ -213,7 +207,7 @@
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
- <version>3.2.2</version>
+ <version>4.4.0</version>
<executions>
<execution>
<goals>
diff --git a/mnemonic-spark/pom.xml b/mnemonic-spark/pom.xml
index a2d5b26..cb42929 100644
--- a/mnemonic-spark/pom.xml
+++ b/mnemonic-spark/pom.xml
@@ -36,7 +36,7 @@
<properties>
<spark.version>2.3.0</spark.version>
- <scala.version>2.11.8</scala.version>
+ <scala.version>2.11.12</scala.version>
<scala.binary.version>2.11</scala.binary.version>
<scalatest.version>3.0.1</scalatest.version>
<spark-scope>compile</spark-scope>
@@ -200,7 +200,7 @@
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
- <version>3.3.1</version>
+ <version>4.4.0</version>
<executions>
<execution>
<goals>