From 1cca1d2708eb9ed14989f61aa5ea02d4f0cb8268 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Singh Date: Wed, 13 Oct 2021 23:50:07 +0530 Subject: [PATCH] Bump up Sprint Boot version to 2.5.5 --- jpa-composite-primary-key-demo/pom.xml | 9 ++++++--- .../jpa/JpaCompositePrimaryKeyDemoApplicationTests.java | 5 +---- jpa-element-collection-demo/pom.xml | 7 +++++-- .../jpa/JpaElementCollectionDemoApplicationTests.java | 5 +---- jpa-embeddable-demo/pom.xml | 9 ++++++--- .../example/jpa/JpaEmbeddableDemoApplicationTests.java | 5 +---- jpa-many-to-many-demo/pom.xml | 7 +++++-- .../example/jpa/JpaManyToManyDemoApplicationTests.java | 5 +---- jpa-one-to-many-demo/pom.xml | 9 ++++++--- .../example/jpa/JpaOneToManyDemoApplicationTests.java | 5 +---- jpa-one-to-one-demo/pom.xml | 9 ++++++--- .../com/example/jpa/JpaOneToOneDemoApplicationTests.java | 5 +---- 12 files changed, 40 insertions(+), 40 deletions(-) diff --git a/jpa-composite-primary-key-demo/pom.xml b/jpa-composite-primary-key-demo/pom.xml index b6ad61d..87f7acb 100644 --- a/jpa-composite-primary-key-demo/pom.xml +++ b/jpa-composite-primary-key-demo/pom.xml @@ -14,14 +14,14 @@ org.springframework.boot spring-boot-starter-parent - 2.2.1.RELEASE + 2.5.5 UTF-8 UTF-8 - 1.8 + 11 @@ -33,7 +33,10 @@ org.springframework.boot spring-boot-starter-web - + + org.springframework.boot + spring-boot-starter-validation + mysql mysql-connector-java diff --git a/jpa-composite-primary-key-demo/src/test/java/com/example/jpa/JpaCompositePrimaryKeyDemoApplicationTests.java b/jpa-composite-primary-key-demo/src/test/java/com/example/jpa/JpaCompositePrimaryKeyDemoApplicationTests.java index 942c7dd..fae0884 100644 --- a/jpa-composite-primary-key-demo/src/test/java/com/example/jpa/JpaCompositePrimaryKeyDemoApplicationTests.java +++ b/jpa-composite-primary-key-demo/src/test/java/com/example/jpa/JpaCompositePrimaryKeyDemoApplicationTests.java @@ -1,11 +1,8 @@ package com.example.jpa; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; -@RunWith(SpringRunner.class) @SpringBootTest public class JpaCompositePrimaryKeyDemoApplicationTests { diff --git a/jpa-element-collection-demo/pom.xml b/jpa-element-collection-demo/pom.xml index 445a358..7464bfe 100644 --- a/jpa-element-collection-demo/pom.xml +++ b/jpa-element-collection-demo/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.2.1.RELEASE + 2.5.5 @@ -33,7 +33,10 @@ org.springframework.boot spring-boot-starter-web - + + org.springframework.boot + spring-boot-starter-validation + mysql mysql-connector-java diff --git a/jpa-element-collection-demo/src/test/java/com/example/jpa/JpaElementCollectionDemoApplicationTests.java b/jpa-element-collection-demo/src/test/java/com/example/jpa/JpaElementCollectionDemoApplicationTests.java index b60f1e9..28a71b0 100644 --- a/jpa-element-collection-demo/src/test/java/com/example/jpa/JpaElementCollectionDemoApplicationTests.java +++ b/jpa-element-collection-demo/src/test/java/com/example/jpa/JpaElementCollectionDemoApplicationTests.java @@ -1,11 +1,8 @@ package com.example.jpa; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; -@RunWith(SpringRunner.class) @SpringBootTest public class JpaElementCollectionDemoApplicationTests { diff --git a/jpa-embeddable-demo/pom.xml b/jpa-embeddable-demo/pom.xml index fbc703b..7460b31 100644 --- a/jpa-embeddable-demo/pom.xml +++ b/jpa-embeddable-demo/pom.xml @@ -14,14 +14,14 @@ org.springframework.boot spring-boot-starter-parent - 2.2.1.RELEASE + 2.5.5 UTF-8 UTF-8 - 1.8 + 11 @@ -33,7 +33,10 @@ org.springframework.boot spring-boot-starter-web - + + org.springframework.boot + spring-boot-starter-validation + mysql mysql-connector-java diff --git a/jpa-embeddable-demo/src/test/java/com/example/jpa/JpaEmbeddableDemoApplicationTests.java b/jpa-embeddable-demo/src/test/java/com/example/jpa/JpaEmbeddableDemoApplicationTests.java index 76441b8..a13493f 100644 --- a/jpa-embeddable-demo/src/test/java/com/example/jpa/JpaEmbeddableDemoApplicationTests.java +++ b/jpa-embeddable-demo/src/test/java/com/example/jpa/JpaEmbeddableDemoApplicationTests.java @@ -1,11 +1,8 @@ package com.example.jpa; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; -@RunWith(SpringRunner.class) @SpringBootTest public class JpaEmbeddableDemoApplicationTests { diff --git a/jpa-many-to-many-demo/pom.xml b/jpa-many-to-many-demo/pom.xml index b0e1610..d5866e5 100644 --- a/jpa-many-to-many-demo/pom.xml +++ b/jpa-many-to-many-demo/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.2.1.RELEASE + 2.5.5 @@ -33,7 +33,10 @@ org.springframework.boot spring-boot-starter-web - + + org.springframework.boot + spring-boot-starter-validation + mysql mysql-connector-java diff --git a/jpa-many-to-many-demo/src/test/java/com/example/jpa/JpaManyToManyDemoApplicationTests.java b/jpa-many-to-many-demo/src/test/java/com/example/jpa/JpaManyToManyDemoApplicationTests.java index 9f8eecf..bd9638e 100644 --- a/jpa-many-to-many-demo/src/test/java/com/example/jpa/JpaManyToManyDemoApplicationTests.java +++ b/jpa-many-to-many-demo/src/test/java/com/example/jpa/JpaManyToManyDemoApplicationTests.java @@ -1,11 +1,8 @@ package com.example.jpa; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; -@RunWith(SpringRunner.class) @SpringBootTest public class JpaManyToManyDemoApplicationTests { diff --git a/jpa-one-to-many-demo/pom.xml b/jpa-one-to-many-demo/pom.xml index 4df8525..b512fdc 100644 --- a/jpa-one-to-many-demo/pom.xml +++ b/jpa-one-to-many-demo/pom.xml @@ -14,14 +14,14 @@ org.springframework.boot spring-boot-starter-parent - 2.2.1.RELEASE + 2.5.5 UTF-8 UTF-8 - 1.8 + 11 @@ -33,7 +33,10 @@ org.springframework.boot spring-boot-starter-web - + + org.springframework.boot + spring-boot-starter-validation + mysql mysql-connector-java diff --git a/jpa-one-to-many-demo/src/test/java/com/example/jpa/JpaOneToManyDemoApplicationTests.java b/jpa-one-to-many-demo/src/test/java/com/example/jpa/JpaOneToManyDemoApplicationTests.java index ee4cfde..05058cb 100644 --- a/jpa-one-to-many-demo/src/test/java/com/example/jpa/JpaOneToManyDemoApplicationTests.java +++ b/jpa-one-to-many-demo/src/test/java/com/example/jpa/JpaOneToManyDemoApplicationTests.java @@ -1,11 +1,8 @@ package com.example.jpa; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; -@RunWith(SpringRunner.class) @SpringBootTest public class JpaOneToManyDemoApplicationTests { diff --git a/jpa-one-to-one-demo/pom.xml b/jpa-one-to-one-demo/pom.xml index e8c313d..51e0d16 100644 --- a/jpa-one-to-one-demo/pom.xml +++ b/jpa-one-to-one-demo/pom.xml @@ -14,14 +14,14 @@ org.springframework.boot spring-boot-starter-parent - 2.2.1.RELEASE + 2.5.5 UTF-8 UTF-8 - 1.8 + 11 @@ -33,7 +33,10 @@ org.springframework.boot spring-boot-starter-web - + + org.springframework.boot + spring-boot-starter-validation + mysql mysql-connector-java diff --git a/jpa-one-to-one-demo/src/test/java/com/example/jpa/JpaOneToOneDemoApplicationTests.java b/jpa-one-to-one-demo/src/test/java/com/example/jpa/JpaOneToOneDemoApplicationTests.java index ca62ecb..ca60492 100644 --- a/jpa-one-to-one-demo/src/test/java/com/example/jpa/JpaOneToOneDemoApplicationTests.java +++ b/jpa-one-to-one-demo/src/test/java/com/example/jpa/JpaOneToOneDemoApplicationTests.java @@ -1,11 +1,8 @@ package com.example.jpa; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; -@RunWith(SpringRunner.class) @SpringBootTest public class JpaOneToOneDemoApplicationTests {