From e27eb5b8eb1c072a0b029d6008814ea52e386aa1 Mon Sep 17 00:00:00 2001
From: chaos2418 <>
Date: Fri, 5 Nov 2021 14:31:19 +0530
Subject: [PATCH] JAVA-1672: removing redundant junit declarations
---
algorithms-sorting-2/pom.xml | 6 ------
algorithms-sorting/pom.xml | 6 ------
atomikos/pom.xml | 6 ------
google-web-toolkit/pom.xml | 6 ------
grpc/pom.xml | 6 ------
json-2/pom.xml | 6 ------
junit5/pom.xml | 17 +----------------
libraries-data/pom.xml | 16 ++++++++++------
libraries-server/pom.xml | 6 ------
libraries/pom.xml | 6 ------
maven-modules/maven-integration-test/pom.xml | 6 ------
maven-modules/maven-properties/pom.xml | 9 ---------
micronaut/pom.xml | 6 ------
persistence-modules/java-jpa-3/pom.xml | 6 ------
restx/pom.xml | 6 ------
spring-ejb/ejb-beans/pom.xml | 6 ------
tensorflow-java/pom.xml | 12 ------------
xml/pom.xml | 12 ------------
18 files changed, 11 insertions(+), 133 deletions(-)
diff --git a/algorithms-sorting-2/pom.xml b/algorithms-sorting-2/pom.xml
index b673af9d70..c9bec354f3 100644
--- a/algorithms-sorting-2/pom.xml
+++ b/algorithms-sorting-2/pom.xml
@@ -29,12 +29,6 @@
${lombok.version}
provided
-
- org.junit.jupiter
- junit-jupiter-api
- ${junit-jupiter.version}
- test
-
org.assertj
assertj-core
diff --git a/algorithms-sorting/pom.xml b/algorithms-sorting/pom.xml
index b853fd80ee..e916d0aae5 100644
--- a/algorithms-sorting/pom.xml
+++ b/algorithms-sorting/pom.xml
@@ -30,12 +30,6 @@
${lombok.version}
provided
-
- org.junit.jupiter
- junit-jupiter-api
- ${junit-jupiter.version}
- test
-
org.assertj
assertj-core
diff --git a/atomikos/pom.xml b/atomikos/pom.xml
index cb10168c0d..cd798825d1 100644
--- a/atomikos/pom.xml
+++ b/atomikos/pom.xml
@@ -71,12 +71,6 @@
derby
${derby.version}
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
-
javax.transaction
diff --git a/google-web-toolkit/pom.xml b/google-web-toolkit/pom.xml
index 1a49ced021..bcccc136a4 100644
--- a/google-web-toolkit/pom.xml
+++ b/google-web-toolkit/pom.xml
@@ -44,12 +44,6 @@
gwt-dev
provided
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
-
diff --git a/grpc/pom.xml b/grpc/pom.xml
index f034b2b517..6f0c3b5c91 100644
--- a/grpc/pom.xml
+++ b/grpc/pom.xml
@@ -37,12 +37,6 @@
${io.grpc.version}
test
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
-
javax.annotation
javax.annotation-api
diff --git a/json-2/pom.xml b/json-2/pom.xml
index 53d67320ba..b4301c41e5 100644
--- a/json-2/pom.xml
+++ b/json-2/pom.xml
@@ -24,12 +24,6 @@
jsoniter
${jsoniter.version}
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
-
org.assertj
assertj-core
diff --git a/junit5/pom.xml b/junit5/pom.xml
index b9804408a2..00b04ea292 100644
--- a/junit5/pom.xml
+++ b/junit5/pom.xml
@@ -8,8 +8,8 @@
junit5
- parent-modules
com.baeldung
+ parent-modules
1.0.0-SNAPSHOT
@@ -18,19 +18,4 @@
8
-
-
- org.junit.jupiter
- junit-jupiter-api
- 5.8.1
- test
-
-
- org.junit.jupiter
- junit-jupiter-engine
- 5.8.1
- test
-
-
-
\ No newline at end of file
diff --git a/libraries-data/pom.xml b/libraries-data/pom.xml
index 3db34709e7..dd48453a8c 100644
--- a/libraries-data/pom.xml
+++ b/libraries-data/pom.xml
@@ -14,12 +14,6 @@
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
-
org.apache.kafka
kafka-streams
@@ -92,6 +86,10 @@
commons-codec
commons-codec
+
+ junit
+ junit
+
@@ -104,6 +102,12 @@
flink-test-utils_2.11
${flink.version}
test
+
+
+ junit
+ junit
+
+
org.slf4j
diff --git a/libraries-server/pom.xml b/libraries-server/pom.xml
index a9c340b319..954f666785 100644
--- a/libraries-server/pom.xml
+++ b/libraries-server/pom.xml
@@ -61,12 +61,6 @@
netty-all
${netty.version}
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
-
org.apache.tomcat
diff --git a/libraries/pom.xml b/libraries/pom.xml
index 4ecf82aa87..b2e429ff65 100644
--- a/libraries/pom.xml
+++ b/libraries/pom.xml
@@ -146,12 +146,6 @@
jmh-core
${jmh-core.version}
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
-
info.debatty
java-lsh
diff --git a/maven-modules/maven-integration-test/pom.xml b/maven-modules/maven-integration-test/pom.xml
index 4283baf63b..01be0ad1a4 100644
--- a/maven-modules/maven-integration-test/pom.xml
+++ b/maven-modules/maven-integration-test/pom.xml
@@ -26,12 +26,6 @@
jersey-hk2
${jersey.version}
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
-
diff --git a/maven-modules/maven-properties/pom.xml b/maven-modules/maven-properties/pom.xml
index b3169a7fb0..88e13a0fb8 100644
--- a/maven-modules/maven-properties/pom.xml
+++ b/maven-modules/maven-properties/pom.xml
@@ -14,15 +14,6 @@
../..
-
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
-
-
-
diff --git a/micronaut/pom.xml b/micronaut/pom.xml
index f36f565a94..019bd6ab29 100644
--- a/micronaut/pom.xml
+++ b/micronaut/pom.xml
@@ -64,12 +64,6 @@
${logback.version}
runtime
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
-
io.projectreactor
reactor-core
diff --git a/persistence-modules/java-jpa-3/pom.xml b/persistence-modules/java-jpa-3/pom.xml
index ad649d58d8..0eb4b8075d 100644
--- a/persistence-modules/java-jpa-3/pom.xml
+++ b/persistence-modules/java-jpa-3/pom.xml
@@ -68,12 +68,6 @@
${assertj.version}
test
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
-
org.testcontainers
postgresql
diff --git a/restx/pom.xml b/restx/pom.xml
index ea9f927563..57736f60cd 100644
--- a/restx/pom.xml
+++ b/restx/pom.xml
@@ -113,12 +113,6 @@
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
-
diff --git a/spring-ejb/ejb-beans/pom.xml b/spring-ejb/ejb-beans/pom.xml
index 10bc6d3104..8a41da5448 100644
--- a/spring-ejb/ejb-beans/pom.xml
+++ b/spring-ejb/ejb-beans/pom.xml
@@ -80,12 +80,6 @@
arquillian-junit-container
test
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
-
joda-time
diff --git a/tensorflow-java/pom.xml b/tensorflow-java/pom.xml
index 2ac4d28a37..4dd86d45e3 100644
--- a/tensorflow-java/pom.xml
+++ b/tensorflow-java/pom.xml
@@ -21,18 +21,6 @@
tensorflow
${tensorflow.version}
-
- org.junit.jupiter
- junit-jupiter-api
- ${junit-jupiter.version}
- test
-
-
- org.junit.jupiter
- junit-jupiter-engine
- ${junit-jupiter.version}
- test
-
diff --git a/xml/pom.xml b/xml/pom.xml
index 6bae312452..f88f0f89b0 100644
--- a/xml/pom.xml
+++ b/xml/pom.xml
@@ -107,18 +107,6 @@
commons-lang
${commons-lang.version}
-
- org.junit.jupiter
- junit-jupiter
- ${junit-jupiter.version}
- test
-
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
-
org.assertj
assertj-core