This is an automated email from the ASF dual-hosted git repository. srowen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new a15f17c [SPARK-27250][TEST-MAVEN][BUILD] Scala 2.11 maven compile should target Java 1.8 a15f17c is described below commit a15f17ce277e21d4a1e6b6018a2faea1549d5506 Author: John Zhuge <jzh...@apache.org> AuthorDate: Sun Mar 24 09:05:41 2019 -0500 [SPARK-27250][TEST-MAVEN][BUILD] Scala 2.11 maven compile should target Java 1.8 ## What changes were proposed in this pull request? Fix Scala 2.11 maven build issue after merging SPARK-26946. ## How was this patch tested? Maven Scala 2.11 and 2.12 builds with `-Phadoop-provided -Phadoop-2.7 -Pyarn -Phive -Phive-thriftserver`. Closes #24184 from jzhuge/SPARK-26946-1. Authored-by: John Zhuge <jzh...@apache.org> Signed-off-by: Sean Owen <sean.o...@databricks.com> --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index e2fadbd..33b9922 100644 --- a/pom.xml +++ b/pom.xml @@ -2031,6 +2031,7 @@ <arg>-feature</arg> <arg>-explaintypes</arg> <arg>-Yno-adapted-args</arg> + <arg>-target:jvm-1.8</arg> </args> <jvmArgs> <jvmArg>-Xms1024m</jvmArg> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org