plugin: pom.xml: use java.version property for compiler-plugin

This commit is contained in:
Paul Campbell 2017-06-09 18:36:29 +01:00
parent 67abe9ab5b
commit 2bfdaa1087

View file

@ -93,8 +93,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 -->
<plugin> <plugin>