Skip to content

Commit 0847a0b

Browse files
committed
JAVA-26713 Upgrade spring-boot-starter-validation version
1 parent 4c201b1 commit 0847a0b

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

javaxval-2/pom.xml

+14-9
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,24 @@
99

1010
<parent>
1111
<groupId>com.baeldung</groupId>
12-
<artifactId>parent-modules</artifactId>
13-
<version>1.0.0-SNAPSHOT</version>
12+
<artifactId>parent-boot-3</artifactId>
13+
<version>0.0.1-SNAPSHOT</version>
14+
<relativePath>../parent-boot-3</relativePath>
1415
</parent>
1516

1617
<dependencies>
1718
<dependency>
1819
<groupId>org.springframework.boot</groupId>
1920
<artifactId>spring-boot-starter-validation</artifactId>
20-
<version>${spring.boot.version}</version>
2121
</dependency>
2222
<dependency>
2323
<groupId>org.springframework.boot</groupId>
2424
<artifactId>spring-boot-starter-test</artifactId>
25-
<version>${spring.boot.version}</version>
2625
<scope>test</scope>
2726
</dependency>
2827
<dependency>
2928
<groupId>com.fasterxml.jackson.core</groupId>
3029
<artifactId>jackson-databind</artifactId>
31-
<version>${jackson.databind.version}</version>
3230
</dependency>
3331
</dependencies>
3432

@@ -42,9 +40,16 @@
4240
<!--<version>${hibernate-validator.ap.version}</version> </path> </annotationProcessorPaths> </configuration> -->
4341
<!--</plugin> </plugins> </build> -->
4442

45-
<properties>
46-
<spring.boot.version>3.0.4</spring.boot.version>
47-
<jackson.databind.version>2.14.0</jackson.databind.version>
48-
</properties>
43+
<build>
44+
<plugins>
45+
<plugin>
46+
<groupId>org.springframework.boot</groupId>
47+
<artifactId>spring-boot-maven-plugin</artifactId>
48+
<configuration>
49+
<skip>true</skip>
50+
</configuration>
51+
</plugin>
52+
</plugins>
53+
</build>
4954

5055
</project>

javaxval-2/src/test/java/com/baeldung/javaxval/afterdeserialization/StudentDeserializerWithValidationUnitTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.javaxval;
1+
package com.baeldung.javaxval.afterdeserialization;
22

33
import static org.junit.jupiter.api.Assertions.assertEquals;
44
import static org.junit.jupiter.api.Assertions.assertThrows;

javaxval/pom.xml

+3-5
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,19 @@
88

99
<parent>
1010
<groupId>com.baeldung</groupId>
11-
<artifactId>parent-modules</artifactId>
12-
<version>1.0.0-SNAPSHOT</version>
11+
<artifactId>parent-boot-3</artifactId>
12+
<version>0.0.1-SNAPSHOT</version>
13+
<relativePath>../parent-boot-3</relativePath>
1314
</parent>
1415

1516
<dependencies>
1617
<dependency>
1718
<groupId>org.springframework.boot</groupId>
1819
<artifactId>spring-boot-starter-validation</artifactId>
19-
<version>${spring.boot.version}</version>
2020
</dependency>
2121
<dependency>
2222
<groupId>org.springframework.boot</groupId>
2323
<artifactId>spring-boot-starter-test</artifactId>
24-
<version>${spring.boot.version}</version>
2524
<scope>test</scope>
2625
</dependency>
2726
</dependencies>
@@ -38,7 +37,6 @@
3837

3938
<properties>
4039
<hibernate-validator.ap.version>8.0.1.Final</hibernate-validator.ap.version>
41-
<spring.boot.version>3.0.4</spring.boot.version>
4240
</properties>
4341

4442
</project>

0 commit comments

Comments
 (0)