diff --git a/spring-web-modules/spring-rest-testing/pom.xml b/spring-web-modules/spring-rest-testing/pom.xml
index 1390898bf9..67b3115a6f 100644
--- a/spring-web-modules/spring-rest-testing/pom.xml
+++ b/spring-web-modules/spring-rest-testing/pom.xml
@@ -64,11 +64,6 @@
org.springframework.data
spring-data-commons
-
-
- org.springframework.boot
- spring-boot-starter-tomcat
-
org.apache.httpcomponents
@@ -154,17 +149,9 @@
org.codehaus.cargo
- cargo-maven2-plugin
- ${cargo-maven2-plugin.version}
+ cargo-maven3-plugin
+ ${cargo-maven3-plugin.version}
- true
-
- jetty8x
- embedded
-
-
-
-
8082
@@ -194,15 +181,32 @@
- live
+ cargo-integration
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+
+ integration-test
+
+ test
+
+
+
+ none
+
+
+ **/*LiveTest.java
+
+
+
+
+
org.codehaus.cargo
- cargo-maven2-plugin
-
- false
-
+ cargo-maven3-plugin
start-server
@@ -232,7 +236,7 @@
3.25.0-GA
- 1.6.1
+ 1.9.9
1.1.3
diff --git a/spring-web-modules/spring-rest-testing/src/test/java/com/baeldung/cargo/CargoPluginLiveTest.java b/spring-web-modules/spring-rest-testing/src/test/java/com/baeldung/cargo/CargoPluginLiveTest.java
new file mode 100644
index 0000000000..8d6dd6a823
--- /dev/null
+++ b/spring-web-modules/spring-rest-testing/src/test/java/com/baeldung/cargo/CargoPluginLiveTest.java
@@ -0,0 +1,13 @@
+package com.baeldung.cargo;
+
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+class CargoPluginLiveTest {
+
+ @Test
+ void givenCargoProfile_expectTestRuns() {
+ assertTrue(true);
+ }
+}