diff --git a/cdi/pom.xml b/cdi/pom.xml
index ec8bc7130..9e8ac9102 100644
--- a/cdi/pom.xml
+++ b/cdi/pom.xml
@@ -174,7 +174,7 @@
${project.build.outputDirectory}/META-INF/MANIFEST.MF
Jakarta Validation
- 2.0
+ ${parsed-version.jakarta.validation-api.majorVersion}.${parsed-version.jakarta.validation-api.minorVersion}
${hibernate-validator-cdi.module-name}
diff --git a/engine/pom.xml b/engine/pom.xml
index fd3f02992..ffa4f0412 100644
--- a/engine/pom.xml
+++ b/engine/pom.xml
@@ -244,7 +244,7 @@
${project.build.outputDirectory}/META-INF/MANIFEST.MF
Jakarta Validation
- 3.0
+ ${parsed-version.jakarta.validation-api.majorVersion}.${parsed-version.jakarta.validation-api.minorVersion}
${hibernate-validator.module-name}
@@ -260,7 +260,7 @@
${hibernate-validator.module-name}
jakarta.persistence.*;version="[3.0.0,4.0.0)";resolution:=optional,
- jakarta.validation.*;version="[3.0.0,4.0.0)",
+ jakarta.validation.*;version="[${version.jakarta.validation-api},${parsed-version.jakarta.validation-api.nextMajorVersion}.0.0)",
javax.script.*;version="0",
javax.xml.*;version="0",
jakarta.el.*;version="[5.0.0,6.0.0)";resolution:=optional,
diff --git a/performance/pom.xml b/performance/pom.xml
index 845dbc6ab..ef2f0b161 100644
--- a/performance/pom.xml
+++ b/performance/pom.xml
@@ -22,6 +22,12 @@
true
+
+ true
-
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
-
-
-
hv-6.1
@@ -214,6 +213,7 @@
2.0.1.Final
Hibernate Validator
6.1.2.Final
+ false
@@ -236,15 +236,6 @@
log4j
-
-
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
-
-
-
hv-6.0
@@ -258,6 +249,7 @@
2.0.1.Final
Hibernate Validator
6.0.19.Final
+ false
@@ -280,15 +272,6 @@
log4j
-
-
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
-
-
-
hv-5.4
diff --git a/pom.xml b/pom.xml
index 6b90d541b..ca64480e2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -621,6 +621,22 @@
com.mycila
license-maven-plugin
+
+ org.codehaus.mojo
+ build-helper-maven-plugin
+
+
+ parse-jakarta-validation-spec-version
+
+ parse-version
+
+
+ parsed-version.jakarta.validation-api
+ ${version.jakarta.validation-api}
+
+
+
+