buildscript {
@@ -2307,17 +2307,26 @@ the spock-core and spock-spring modules. Check
diff --git a/spring-cloud-contract.html b/spring-cloud-contract.html index 15069d61ec..c9f38cde1e 100644 --- a/spring-cloud-contract.html +++ b/spring-cloud-contract.html @@ -484,9 +484,9 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
spock-core and spock-spring modules. Check
<plugin>
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-contract-dependencies</artifactId>
+ <version>${spring-cloud-contract.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+
+<dependencies>
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-starter-contract-verifier</artifactId>
+ <scope>test</scope>
+ </dependency>
+</dependencies>
+
+<plugin>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-contract-maven-plugin</artifactId>
<executions>
@@ -2656,7 +2685,7 @@ class LoanApplicationServiceSpec extends Specification {
Using in your Maven project
-Add maven plugin
+Add maven plugin
Add the Spring Cloud Contract BOM
@@ -4874,7 +4903,7 @@ receivedMessage.headers.get('BOOK-NAME') == 'foo'