Skip to content
Snippets Groups Projects
Commit e7c59b41 authored by Chang chen's avatar Chang chen Committed by Sean Owen
Browse files

[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 <baibaichen@gmail.com>

Closes #18808 from baibaichen/feature/idea-fix.
parent 32214706
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment