[ https://issues.apache.org/jira/browse/SPARK-28750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16908587#comment-16908587 ]
Sean Owen commented on SPARK-28750: ----------------------------------- [~dongjoon] I've tried this for an hour, and can't get it to work. {{scala-maven-plugin}} seems to hard-code specifying {{-source}} and {{-target}}, and this can't be combine with {{-release}}. The failure is from Javac, which is called from SBT, and called from the plugin. Without that, I don't think we can safely cross-compile for Java 8 from Java 11. This is with the latest plugin version 4.1.1. There might be an answer, or maybe needs some update to the plugin. For the short-term I would take the safe route and compile with Java 8 as-is, not cross-compile. > Use `--release 8` for javac > --------------------------- > > Key: SPARK-28750 > URL: https://issues.apache.org/jira/browse/SPARK-28750 > Project: Spark > Issue Type: Sub-task > Components: Build > Affects Versions: 3.0.0 > Reporter: Dongjoon Hyun > Priority: Major > -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org