enforce JDK 22 for building the release

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
Ludovic Orban 2024-04-11 16:24:32 +02:00
parent 8d95000e2c
commit dc0cd2d45f
1 changed files with 2 additions and 2 deletions

View File

@ -2194,8 +2194,8 @@
<configuration>
<rules>
<requireJavaVersion>
<version>[21,)</version>
<message>[ERROR] OLD JDK [${java.version}] in use. Jetty Release ${project.version} MUST use JDK 21 or newer</message>
<version>[22,)</version>
<message>[ERROR] OLD JDK [${java.version}] in use. Jetty Release ${project.version} MUST use JDK 22 or newer</message>
</requireJavaVersion>
</rules>
</configuration>