diff --git a/spring-cloud/spring-cloud-contract/pom.xml b/spring-cloud/spring-cloud-contract/pom.xml
index 4d4e8ad2c3..ea71891648 100644
--- a/spring-cloud/spring-cloud-contract/pom.xml
+++ b/spring-cloud/spring-cloud-contract/pom.xml
@@ -19,4 +19,45 @@
spring-cloud-contract-consumer
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+ ${spring-boot.version}
+
+
+ org.springframework.boot
+ spring-boot-starter-data-rest
+ ${spring-boot.version}
+
+
+
+ org.springframework.cloud
+ spring-cloud-contract-wiremock
+ ${spring-cloud.version}
+ test
+
+
+ org.springframework.cloud
+ spring-cloud-contract-stub-runner
+ ${spring-cloud.version}
+ test
+
+
+ org.springframework.cloud
+ spring-cloud-starter-contract-verifier
+ ${spring-cloud.version}
+ test
+
+
+
+
+
+ UTF-8
+ UTF-8
+ 1.8
+ 2.1.1.RELEASE
+ 2.1.4.RELEASE
+
\ No newline at end of file
diff --git a/spring-cloud/spring-cloud-contract/spring-cloud-contract-consumer/pom.xml b/spring-cloud/spring-cloud-contract/spring-cloud-contract-consumer/pom.xml
index 8ecda40d0a..04181340a4 100644
--- a/spring-cloud/spring-cloud-contract/spring-cloud-contract-consumer/pom.xml
+++ b/spring-cloud/spring-cloud-contract/spring-cloud-contract-consumer/pom.xml
@@ -20,38 +20,26 @@
org.springframework.cloud
spring-cloud-contract-wiremock
- ${spring-cloud.version}
test
org.springframework.cloud
spring-cloud-contract-stub-runner
- ${spring-cloud.version}
test
org.springframework.boot
spring-boot-starter-web
- ${spring-boot.version}
org.springframework.boot
spring-boot-starter-data-rest
- ${spring-boot.version}
com.baeldung.spring.cloud
spring-cloud-contract-producer
- 1.0.0-SNAPSHOT
+ ${project.parent.version}
test
-
-
- UTF-8
- UTF-8
- 1.8
- 1.2.2.RELEASE
- 1.5.9.RELEASE
-
diff --git a/spring-cloud/spring-cloud-contract/spring-cloud-contract-producer/pom.xml b/spring-cloud/spring-cloud-contract/spring-cloud-contract-producer/pom.xml
index 47759a818a..dffbd29206 100644
--- a/spring-cloud/spring-cloud-contract/spring-cloud-contract-producer/pom.xml
+++ b/spring-cloud/spring-cloud-contract/spring-cloud-contract-producer/pom.xml
@@ -25,12 +25,10 @@
org.springframework.boot
spring-boot-starter-web
- ${spring-boot.version}
org.springframework.boot
spring-boot-starter-data-rest
- ${spring-boot.version}
@@ -38,7 +36,7 @@
org.springframework.cloud
spring-cloud-contract-maven-plugin
- 1.2.2.RELEASE
+ 2.1.1.RELEASE
true
com.baeldung.spring.cloud.springcloudcontractproducer.BaseTestClass
@@ -47,26 +45,4 @@
-
-
-
-
-
- org.springframework.cloud
- spring-cloud-dependencies
- ${spring-cloud.version}
- pom
- import
-
-
-
-
-
- UTF-8
- UTF-8
- 1.8
- Edgware.SR1
- 1.5.9.RELEASE
-
-