Enforce java8 for compilation

Motivation:

Commit 591293bfb4 changed the build to need java8 but missed to adjust the enforce rule as well.

Modifications:

Enforce java8+

Result:

Quickly fail when user tries to compile with pre java8
This commit is contained in:
Norman Maurer 2017-02-16 08:25:20 +01:00
parent 0befcd8431
commit ddd0e2f184

View File

@ -596,9 +596,9 @@
<configuration>
<rules>
<requireJavaVersion>
<!-- Enforce JDK 1.7+ for compilation. -->
<!-- Enforce JDK 1.8+ for compilation. -->
<!-- This is needed because of java.util.zip.Deflater and NIO UDP multicast. -->
<version>[1.7.0,)</version>
<version>[1.8.0,)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[3.1.1,)</version>