pom.xml: specify compiler java source/target version as property

This commit is contained in:
Paul Campbell 2017-02-27 10:19:08 +00:00
parent 458a9f6c2c
commit 9485be0fb9

View file

@ -68,6 +68,7 @@
<jacoco-class-line-covered-ratio>0.50</jacoco-class-line-covered-ratio> <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-instruction-covered-ratio>0.80</jacoco-class-instruction-covered-ratio>
<jacoco-class-missed-count-maximum>0</jacoco-class-missed-count-maximum> <jacoco-class-missed-count-maximum>0</jacoco-class-missed-count-maximum>
<java.version>1.8</java.version>
</properties> </properties>
<developers> <developers>
@ -229,8 +230,8 @@
</compilerArgs> </compilerArgs>
<showDeprecation>true</showDeprecation> <showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings> <showWarnings>true</showWarnings>
<source>1.8</source> <source>${java.version}</source>
<target>1.8</target> <target>${java.version}</target>
</configuration> </configuration>
</plugin><!-- maven-compiler-plugin --> </plugin><!-- maven-compiler-plugin -->