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:
parent
0befcd8431
commit
ddd0e2f184
4
pom.xml
4
pom.xml
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user