From ff3fed933c047de26bb54011269f0b5a633e86b4 Mon Sep 17 00:00:00 2001 From: Matt Pavlovich Date: Tue, 11 Nov 2025 09:38:10 -0600 Subject: [PATCH] [NO-JIRA] Update enforcer-plugin to require building with JDK 21 --- pom.xml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/pom.xml b/pom.xml index 028cf65864..a9e72af6a9 100644 --- a/pom.xml +++ b/pom.xml @@ -1340,6 +1340,39 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-maven + + enforce + + + + + 3.0.5 + + + + + + enforce-java-version + + enforce + + + + + [21,) + You must use Java 21+ to release. + + + + + + org.apache.maven.plugins maven-surefire-plugin