diff --git a/spring-cloud-contract-stub-runner/pom.xml b/spring-cloud-contract-stub-runner/pom.xml
index f98d0d23ef..644290ee86 100644
--- a/spring-cloud-contract-stub-runner/pom.xml
+++ b/spring-cloud-contract-stub-runner/pom.xml
@@ -119,7 +119,7 @@
test
- com.sun.jersey
+ org.glassfish.jersey.core
jersey-client
true
diff --git a/tests/spring-cloud-contract-stub-runner-moco-contract-jar/pom.xml b/tests/spring-cloud-contract-stub-runner-moco-contract-jar/pom.xml
index a0a8f9cd87..d7078dd2c9 100644
--- a/tests/spring-cloud-contract-stub-runner-moco-contract-jar/pom.xml
+++ b/tests/spring-cloud-contract-stub-runner-moco-contract-jar/pom.xml
@@ -35,10 +35,6 @@
org.codehaus.gmavenplus
gmavenplus-plugin
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
maven-deploy-plugin
2.8.2