This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 2a752da  SLING-12428 - Relax constraints for the highest supported 
Java version (#45)
2a752da is described below

commit 2a752daa9eab17c1de4bdcd9d56e8db62867e92e
Author: Robert Munteanu <[email protected]>
AuthorDate: Mon Sep 16 10:39:06 2024 +0200

    SLING-12428 - Relax constraints for the highest supported Java version (#45)
---
 sling-parent/pom.xml | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/sling-parent/pom.xml b/sling-parent/pom.xml
index e995c5d..2d4883c 100644
--- a/sling-parent/pom.xml
+++ b/sling-parent/pom.xml
@@ -101,10 +101,7 @@
 
     <!--
         To set the Java API and class file compliance modules need to set the 
property "sling.java.version" to
-        one of these values:
-          - 8: Java 8 
-          - 9: Java 9
-          - 10..19: Java 10-19
+        a value between 8 and 99.
     -->
 
     <properties>
@@ -278,9 +275,9 @@
                             <rules>
                                 <requireProperty>
                                     <property>sling.java.version</property>
-                                    <message>Property "sling.java.version" is 
required for this build and must comply with the following pattern: 
^(8|9|1[0-9])$.</message>
-                                    <regex>^(8|9|1[0-9])$</regex>
-                                    <regexMessage>The value of the 
"sling.java.version" property must comply with the following pattern: 
^(8|9|1[0-9])$.</regexMessage>
+                                    <message>Property "sling.java.version" is 
required for this build and must be between 8 and 99.</message>
+                                    <regex>^(8|9|[0-9]{2})$</regex>
+                                    <regexMessage>The value of the 
"sling.java.version" property must be between 8 and 99.</regexMessage>
                                 </requireProperty>
                             </rules>
                         </configuration>

Reply via email to