You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by st...@apache.org on 2022/07/10 13:18:45 UTC

[deltaspike] 01/02: Use correct geronimo 2.0 spec with hibernate validator 6 series

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

struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/deltaspike.git

commit 6e9c47225bd740af73cd4c42aff25325c9d7bc01
Author: Jeremy Landis <je...@hotmail.com>
AuthorDate: Sun Jul 3 23:07:07 2022 -0400

    Use correct geronimo 2.0 spec with hibernate validator 6 series
---
 deltaspike/parent/code/pom.xml | 2 +-
 deltaspike/parent/pom.xml      | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/deltaspike/parent/code/pom.xml b/deltaspike/parent/code/pom.xml
index b0f8f445..17c97094 100644
--- a/deltaspike/parent/code/pom.xml
+++ b/deltaspike/parent/code/pom.xml
@@ -257,7 +257,7 @@
             <properties>
                 <!-- Need newer implementations to be able to run on Java9+ -->
                 <bval.artifactId>bval-jsr</bval.artifactId>
-                <validation.artifactId>geronimo-validation_1.1_spec</validation.artifactId>
+                <validation.artifactId>geronimo-validation_2.0_spec</validation.artifactId>
                 <hibernate.validator.version>6.0.17.Final</hibernate.validator.version>
             </properties>
         </profile>
diff --git a/deltaspike/parent/pom.xml b/deltaspike/parent/pom.xml
index de87d780..a7f9b3c7 100644
--- a/deltaspike/parent/pom.xml
+++ b/deltaspike/parent/pom.xml
@@ -90,6 +90,7 @@
         <geronimo-el-2.2-spec.version>1.0.3</geronimo-el-2.2-spec.version>
         <geronimo-validation-1.0-spec.version>1.1</geronimo-validation-1.0-spec.version>
         <geronimo-validation-1.1-spec.version>1.0</geronimo-validation-1.1-spec.version>
+        <geronimo-validation-2.0-spec.version>1.1</geronimo-validation-2.0-spec.version>
         <geronimo-jpa-2.0-spec.version>1.1</geronimo-jpa-2.0-spec.version>
         <geronimo-jta-1.1-spec.version>1.1.1</geronimo-jta-1.1-spec.version>
 
@@ -531,6 +532,13 @@
                 <scope>provided</scope>
             </dependency>
 
+            <dependency>
+                <groupId>org.apache.geronimo.specs</groupId>
+                <artifactId>geronimo-validation_2.0_spec</artifactId>
+                <version>${geronimo-validation-2.0-spec.version}</version>
+                <scope>provided</scope>
+            </dependency>
+
             <dependency>
                 <groupId>org.apache.geronimo.specs</groupId>
                 <artifactId>geronimo-jpa_2.0_spec</artifactId>