JAVA-20499 | Merging javax-validation-advanced module in javaxval-2. (#14362)
This commit is contained in:
parent
fae290a102
commit
6130c8436d
|
@ -1,6 +0,0 @@
|
|||
.classpath
|
||||
.project
|
||||
.settings/
|
||||
target/
|
||||
bin/
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
## Java Bean Validation Examples
|
||||
|
||||
This module contains articles about Bean Validation.
|
||||
|
||||
### Relevant Articles:
|
||||
- [Object Validation After Deserialization](https://www.baeldung.com/java-object-validation-deserialization)
|
|
@ -1,33 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>javax-validation-advanced</artifactId>
|
||||
<name>javax-validation-advanced</name>
|
||||
|
||||
<parent>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>parent-modules</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-validation</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>${jackson.databind.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<spring.boot.version>2.7.5</spring.boot.version>
|
||||
<jackson.databind.version>2.14.0</jackson.databind.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
|
@ -6,4 +6,5 @@ This module contains articles about Bean Validation.
|
|||
- [Method Constraints with Bean Validation 2.0](https://www.baeldung.com/javax-validation-method-constraints)
|
||||
- [Guide to ParameterMessageInterpolator](https://www.baeldung.com/hibernate-parametermessageinterpolator)
|
||||
- [Hibernate Validator Annotation Processor in Depth](https://www.baeldung.com/hibernate-validator-annotation-processor)
|
||||
- [Object Validation After Deserialization](https://www.baeldung.com/java-object-validation-deserialization)
|
||||
- More articles: [[<-- prev]](../javaxval)
|
|
@ -25,6 +25,11 @@
|
|||
<version>${spring.boot.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>${jackson.databind.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<!-- uncomment in order to enable Hibernate Validator Anotation Processor -->
|
||||
|
@ -39,6 +44,7 @@
|
|||
|
||||
<properties>
|
||||
<spring.boot.version>3.0.4</spring.boot.version>
|
||||
<jackson.databind.version>2.14.0</jackson.databind.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
|
@ -3,11 +3,11 @@ package com.baeldung.javaxval.afterdeserialization;
|
|||
import java.io.IOException;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.validation.ConstraintViolation;
|
||||
import javax.validation.ConstraintViolationException;
|
||||
import javax.validation.Validation;
|
||||
import javax.validation.Validator;
|
||||
import javax.validation.ValidatorFactory;
|
||||
import jakarta.validation.ConstraintViolation;
|
||||
import jakarta.validation.ConstraintViolationException;
|
||||
import jakarta.validation.Validation;
|
||||
import jakarta.validation.Validator;
|
||||
import jakarta.validation.ValidatorFactory;
|
||||
|
||||
import com.fasterxml.jackson.core.JsonParser;
|
||||
import com.fasterxml.jackson.databind.DeserializationContext;
|
|
@ -1,6 +1,6 @@
|
|||
package com.baeldung.javaxval.afterdeserialization;
|
||||
|
||||
import javax.validation.constraints.Size;
|
||||
import jakarta.validation.constraints.Size;
|
||||
|
||||
public class Student {
|
||||
|
|
@ -6,7 +6,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
|
|||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
import javax.validation.ConstraintViolationException;
|
||||
import jakarta.validation.ConstraintViolationException;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
2
pom.xml
2
pom.xml
|
@ -850,7 +850,6 @@
|
|||
<module>javax-sound</module>
|
||||
<module>javaxval</module>
|
||||
<module>javaxval-2</module>
|
||||
<module>javax-validation-advanced</module>
|
||||
<module>jetbrains</module>
|
||||
<module>jgit</module>
|
||||
<module>jib</module>
|
||||
|
@ -1120,7 +1119,6 @@
|
|||
<module>javax-sound</module>
|
||||
<module>javaxval</module>
|
||||
<module>javaxval-2</module>
|
||||
<module>javax-validation-advanced</module>
|
||||
<module>jetbrains</module>
|
||||
<module>jgit</module>
|
||||
<module>jib</module>
|
||||
|
|
Loading…
Reference in New Issue