GitHub user baibaichen opened a pull request: https://github.com/apache/spark/pull/18808
[HOT-FIX][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. You can merge this pull request into a Git repository by running: $ git pull https://github.com/baibaichen/spark feature/idea-fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/18808.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #18808 ---- commit 8f250d9263716043b654e09ce0b7f982ca9a0135 Author: Chang chen <baibaic...@gmail.com> Date: 2017-08-02T04:45:58Z [HOT-FIX][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 issues. As I test, it doesn't increase compile time. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org