Skip to content

Commit a15f17c

Browse files
jzhugesrowen
authored andcommitted
[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 apache#24184 from jzhuge/SPARK-26946-1. Authored-by: John Zhuge <[email protected]> Signed-off-by: Sean Owen <[email protected]>
1 parent 6f18ac9 commit a15f17c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2031,6 +2031,7 @@
20312031
<arg>-feature</arg>
20322032
<arg>-explaintypes</arg>
20332033
<arg>-Yno-adapted-args</arg>
2034+
<arg>-target:jvm-1.8</arg>
20342035
</args>
20352036
<jvmArgs>
20362037
<jvmArg>-Xms1024m</jvmArg>

0 commit comments

Comments
 (0)