Skip to content

Commit

Permalink
Merge pull request #1089 from apache/feature/WW-5209-bean-validation
Browse files Browse the repository at this point in the history
WW-5209 Upgrade to Jakarta Bean Validation 3.1.0
  • Loading branch information
lukaszlenart authored Oct 21, 2024
2 parents 954453b + ad92245 commit 3d255ca
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
6 changes: 6 additions & 0 deletions apps/showcase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>${hibernate-validator.version}</version>
<exclusions>
<exclusion>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
</exclusion>
</exclusions>
</dependency>

<!--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public void testNonceOfInvalidSession() {
DoubleSelect dblSelect = new DoubleSelect(stack, req, res);
dblSelect.evaluateParams();

assertNull(dblSelect.getParameters().get("nonce"));
assertNull(dblSelect.getAttributes().get("nonce"));
}

public void testSetNullUiStaticContentPath() {
Expand Down
3 changes: 1 addition & 2 deletions plugins/bean-validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,9 @@
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<version>3.0.2</version>
<version>3.1.0</version>
</dependency>


<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@
<dependency>
<groupId>org.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<version>3.6.0</version>
<version>4.2.0</version>
<scope>test</scope>
</dependency>

Expand Down

0 comments on commit 3d255ca

Please sign in to comment.