Repository: spark Updated Branches: refs/heads/master 322147061 -> e7c59b417
[SPARK-21605][BUILD] Let IntelliJ IDEA correctly detect Language level and Target byte code version With SPARK-21592, removing source and target properties from maven-compiler-plugin lets IntelliJ IDEA use default Language level and Target byte code version which are 1.4. This change adds source, target and encoding properties back to fix this issue. As I test, it doesn't increase compile time. Author: Chang chen <baibaic...@gmail.com> Closes #18808 from baibaichen/feature/idea-fix. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/e7c59b41 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/e7c59b41 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/e7c59b41 Branch: refs/heads/master Commit: e7c59b41770e5bd311e8fd9cfd03027a20ea71b4 Parents: 3221470 Author: Chang chen <baibaic...@gmail.com> Authored: Thu Aug 3 11:59:50 2017 +0100 Committer: Sean Owen <so...@cloudera.com> Committed: Thu Aug 3 11:59:50 2017 +0100 ---------------------------------------------------------------------- pom.xml | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/e7c59b41/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 589c7af..d54a9c4 100644 --- a/pom.xml +++ b/pom.xml @@ -2020,6 +2020,8 @@ <artifactId>maven-compiler-plugin</artifactId> <version>3.6.1</version> <configuration> + <source>${java.version}</source> + <target>${java.version}</target> <skipMain>true</skipMain> <!-- skip compile --> <skip>true</skip> <!-- skip testCompile --> </configuration> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org