pom.xml: specify compiler java source/target version as property
This commit is contained in:
parent
458a9f6c2c
commit
9485be0fb9
1 changed files with 3 additions and 2 deletions
5
pom.xml
5
pom.xml
|
@ -68,6 +68,7 @@
|
|||
<jacoco-class-line-covered-ratio>0.50</jacoco-class-line-covered-ratio>
|
||||
<jacoco-class-instruction-covered-ratio>0.80</jacoco-class-instruction-covered-ratio>
|
||||
<jacoco-class-missed-count-maximum>0</jacoco-class-missed-count-maximum>
|
||||
<java.version>1.8</java.version>
|
||||
</properties>
|
||||
|
||||
<developers>
|
||||
|
@ -229,8 +230,8 @@
|
|||
</compilerArgs>
|
||||
<showDeprecation>true</showDeprecation>
|
||||
<showWarnings>true</showWarnings>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
</configuration>
|
||||
</plugin><!-- maven-compiler-plugin -->
|
||||
|
||||
|
|
Loading…
Reference in a new issue