Skip to content

Commit 7eac904

Browse files
committed
HV-2071 Set JDK 21 as a minimum required for the build
1 parent 3c10d46 commit 7eac904

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ the Apache Software License 2.0. Refer to license.txt for more information.
7575
## Build from Source
7676

7777
You can build Hibernate Validator from source by cloning the git repository `git://github.com/hibernate/hibernate-validator.git`.
78-
You will also need a JDK 17+ and Maven 3 (>= 3.9.8). With these prerequisites in place you can compile the source via:
78+
You will also need a JDK 21+ and Maven 3 (>= 3.9.9). With these prerequisites in place you can compile the source via:
7979

8080
mvn clean install
8181

pom.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@
403403

404404
<!-- JDK version required for the build -->
405405
<!-- Remember to update README when changing the version here. -->
406-
<jdk.min.version>17</jdk.min.version>
406+
<jdk.min.version>21</jdk.min.version>
407407
<!-- Maven version required for the build -->
408408
<!--
409409
When changing the version here, remember to:
@@ -1692,9 +1692,6 @@
16921692
<configuration>
16931693
<rules>
16941694
<requireReleaseDeps />
1695-
<requireJavaVersion>
1696-
<version>[17,18)</version>
1697-
</requireJavaVersion>
16981695
</rules>
16991696
<fail>true</fail>
17001697
</configuration>

0 commit comments

Comments
 (0)