Bumping up JDK requirement to 1.7 with easier to read error message
This commit is contained in:
parent
f9ef423be2
commit
aba59b6dc0
5
pom.xml
5
pom.xml
|
@ -124,10 +124,11 @@
|
|||
<configuration>
|
||||
<rules>
|
||||
<requireMavenVersion>
|
||||
<version>[2.0.6,)</version>
|
||||
<version>[3.0.0,)</version>
|
||||
</requireMavenVersion>
|
||||
<requireJavaVersion>
|
||||
<version>[1.5,)</version>
|
||||
<version>[1.7,)</version>
|
||||
<message>[ERROR] OLD JDK [${java.version}] in use. Jetty ${project.version} requires JDK 1.7 or newer</message>
|
||||
</requireJavaVersion>
|
||||
<versionTxtRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.VersionTxtRule" />
|
||||
<versionOsgiRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.RequireOsgiCompatibleVersionRule" />
|
||||
|
|
Loading…
Reference in New Issue