diff --git a/pom.xml b/pom.xml
index 5c4ed1429e..79b2071507 100644
--- a/pom.xml
+++ b/pom.xml
@@ -431,7 +431,6 @@
spring-soap
spring-static-resources
spring-swagger-codegen
- testing-modules
video-tutorials
@@ -605,7 +604,6 @@
spring-soap
spring-static-resources
spring-swagger-codegen
- testing-modules
video-tutorials
@@ -803,7 +801,7 @@
quarkus-modules
spring-reactive-modules
spring-swagger-codegen/custom-validations-opeanpi-codegen
- testing-modules/testing-assertions
+ testing-modules
testing-modules/mockito-simple
rule-engines-modules
@@ -1065,7 +1063,7 @@
quarkus-modules
spring-reactive-modules
spring-swagger-codegen/custom-validations-opeanpi-codegen
- testing-modules/testing-assertions
+ testing-modules
testing-modules/mockito-simple
rule-engines-modules
diff --git a/testing-modules/junit-5-advanced/pom.xml b/testing-modules/junit-5-advanced/pom.xml
index 998f6561ea..3ae62eac2e 100644
--- a/testing-modules/junit-5-advanced/pom.xml
+++ b/testing-modules/junit-5-advanced/pom.xml
@@ -53,6 +53,7 @@
org.apache.maven.plugins
maven-surefire-plugin
+ ${maven-surefire-plugin.version}
-javaagent:${settings.localRepository}/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar
@@ -70,6 +71,7 @@
1.49
3.24.2
1.9.2
+ 3.0.0
\ No newline at end of file
diff --git a/testing-modules/junit-5-basics/pom.xml b/testing-modules/junit-5-basics/pom.xml
index a758d79069..9c3cf7a7e4 100644
--- a/testing-modules/junit-5-basics/pom.xml
+++ b/testing-modules/junit-5-basics/pom.xml
@@ -61,6 +61,17 @@
true
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+
+ --add-opens java.base/java.lang=ALL-UNNAMED
+
+
+
+
diff --git a/testing-modules/junit-5/pom.xml b/testing-modules/junit-5/pom.xml
index 047eddcbcb..8afaa085b1 100644
--- a/testing-modules/junit-5/pom.xml
+++ b/testing-modules/junit-5/pom.xml
@@ -121,8 +121,13 @@
org.apache.maven.plugins
- maven-surefire-report-plugin
- ${surefire.report.plugin}
+ maven-surefire-plugin
+
+
+ --add-opens java.base/java.lang=ALL-UNNAMED
+ --add-opens java.base/java.time=ALL-UNNAMED
+
+
@@ -131,7 +136,6 @@
2.17.1
2.0.9
5.0.1.RELEASE
- 3.0.0-M3
3.3.0
diff --git a/testing-modules/junit5-migration/src/test/java/com/baeldung/junit5vstestng/SelectPackagesSuiteUnitTest.java b/testing-modules/junit5-migration/src/test/java/com/baeldung/junit5vstestng/SelectPackagesSuiteUnitTest.java
index ef8756a2bb..088fc00853 100644
--- a/testing-modules/junit5-migration/src/test/java/com/baeldung/junit5vstestng/SelectPackagesSuiteUnitTest.java
+++ b/testing-modules/junit5-migration/src/test/java/com/baeldung/junit5vstestng/SelectPackagesSuiteUnitTest.java
@@ -4,7 +4,7 @@ import org.junit.platform.suite.api.SelectPackages;
import org.junit.platform.suite.api.Suite;
@Suite
-@SelectPackages({ "com.baeldung.java.suite.childpackage1", "com.baeldung.java.suite.childpackage2" })
+@SelectPackages({ "com.baeldung.java.suite.junit4", "com.baeldung.java.suite.junit5" })
public class SelectPackagesSuiteUnitTest {
}
diff --git a/testing-modules/mocks/pom.xml b/testing-modules/mocks/pom.xml
index e447639288..281fff38c2 100644
--- a/testing-modules/mocks/pom.xml
+++ b/testing-modules/mocks/pom.xml
@@ -43,6 +43,26 @@
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+
+ --add-opens java.base/java.lang=ALL-UNNAMED
+ -javaagent:${settings.localRepository}/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar
+ -Djdk.attach.allowAttachSelf
+
+ true
+
+ **/testsuite/**/*UnitTest.java
+
+
+
+
+
+
0.15
1.5
diff --git a/testing-modules/pom.xml b/testing-modules/pom.xml
index 9080d5a0ea..8040113a03 100644
--- a/testing-modules/pom.xml
+++ b/testing-modules/pom.xml
@@ -44,6 +44,7 @@
spring-mockito
spring-testing-2
spring-testing
+ testing-assertions
test-containers
testing-libraries-2
testing-libraries
diff --git a/testing-modules/powermock/pom.xml b/testing-modules/powermock/pom.xml
index f3237ed4df..8eedc818af 100644
--- a/testing-modules/powermock/pom.xml
+++ b/testing-modules/powermock/pom.xml
@@ -26,9 +26,23 @@
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+
+ --add-opens java.base/java.lang=ALL-UNNAMED
+
+
+
+
+
+
2.21.0
- 2.0.7
+ 2.0.9
\ No newline at end of file
diff --git a/testing-modules/testing-libraries-2/pom.xml b/testing-modules/testing-libraries-2/pom.xml
index b0680c1e40..6e8ab599b4 100644
--- a/testing-modules/testing-libraries-2/pom.xml
+++ b/testing-modules/testing-libraries-2/pom.xml
@@ -93,6 +93,16 @@
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+
+ --add-opens java.base/java.util=ALL-UNNAMED
+ --add-opens java.base/java.lang=ALL-UNNAMED
+
+
+
diff --git a/testing-modules/testng/pom.xml b/testing-modules/testng/pom.xml
index 72c220c118..62e2b2e578 100644
--- a/testing-modules/testng/pom.xml
+++ b/testing-modules/testng/pom.xml
@@ -79,7 +79,7 @@
- 7.1.0
+ 7.8.0
\ No newline at end of file
diff --git a/web-modules/pom.xml b/web-modules/pom.xml
index efd87ba642..cdbc2db036 100644
--- a/web-modules/pom.xml
+++ b/web-modules/pom.xml
@@ -26,7 +26,7 @@
jooby
linkrest
- ninja
+
ratpack
@@ -49,4 +49,4 @@
-
\ No newline at end of file
+