This is an automated email from the ASF dual-hosted git repository.
rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bval.git
The following commit(s) were added to refs/heads/master by this push:
new 195f4e2 Make jsr module tests passing
195f4e2 is described below
commit 195f4e2748607920cf5cf022b3602e37ae9a0990
Author: Romain Manni-Bucau <[email protected]>
AuthorDate: Wed Feb 8 16:53:51 2023 +0100
Make jsr module tests passing
---
bval-jsr/pom.xml | 4 ++--
.../main/java/org/apache/bval/jsr/xml/ValidationMappingParser.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/bval-jsr/pom.xml b/bval-jsr/pom.xml
index 6eaf0f2..fd320fa 100644
--- a/bval-jsr/pom.xml
+++ b/bval-jsr/pom.xml
@@ -243,7 +243,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
- <version>2.5.0</version>
+ <version>3.1.0</version>
<executions>
<execution>
<id>xjc</id>
@@ -280,7 +280,7 @@
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
- <version>3.0.0</version>
+ <version>4.0.1</version>
</dependency>
</dependencies>
</plugin>
diff --git
a/bval-jsr/src/main/java/org/apache/bval/jsr/xml/ValidationMappingParser.java
b/bval-jsr/src/main/java/org/apache/bval/jsr/xml/ValidationMappingParser.java
index dbeaaac..b9763f4 100644
---
a/bval-jsr/src/main/java/org/apache/bval/jsr/xml/ValidationMappingParser.java
+++
b/bval-jsr/src/main/java/org/apache/bval/jsr/xml/ValidationMappingParser.java
@@ -57,10 +57,10 @@ public class ValidationMappingParser implements
MetadataSource {
"META-INF/validation-mapping-1.0.xsd")
.add(XmlBuilder.Version.v11.getId(),
"http://jboss.org/xml/ns/javax/validation/mapping",
"META-INF/validation-mapping-1.1.xsd")
+ .add(XmlBuilder.Version.v20.getId(),
"http://xmlns.jcp.org/xml/ns/validation/mapping",
+ "META-INF/validation-mapping-2.0.xsd")
.add(XmlBuilder.Version.v30.getId(),
"https://jakarta.ee/xml/ns/validation/mapping",
"META-INF/validation-mapping-3.0.xsd")
- .add(XmlBuilder.Version.v20.getId(),
"http://xmlns.jcp.org/xml/ns/validation/mapping",
- "META-INF/validation-mapping-2.0.xsd")
.build();
private ApacheValidatorFactory validatorFactory;