Specify javac source and target via maven.compiler.* properties
This commit is contained in:
parent
bd1df5e8ba
commit
a681d5e750
5
pom.xml
5
pom.xml
|
@ -99,6 +99,9 @@
|
|||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
|
||||
<maven.compiler.source>1.7</maven.compiler.source>
|
||||
<maven.compiler.target>1.7</maven.compiler.target>
|
||||
|
||||
<!--
|
||||
|
||||
note for idea users:
|
||||
|
@ -783,8 +786,6 @@
|
|||
<!-- Enable Google's Error-Prone https://github.com/google/error-prone -->
|
||||
<configuration>
|
||||
<showWarnings>true</showWarnings>
|
||||
<source>1.7</source>
|
||||
<target>1.7</target>
|
||||
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
||||
<compilerId>${javac-compiler-id}</compilerId>
|
||||
<compilerArgs>
|
||||
|
|
Loading…
Reference in New Issue