diff --git a/multi/multi__customization.html b/multi/multi__customization.html index 36e9b9db44..b089071bcc 100644 --- a/multi/multi__customization.html +++ b/multi/multi__customization.html @@ -138,12 +138,7 @@ maintain the static compatibility. Later in this document, you can see examples to pass the dependency to your project.
First, add the common jar dependency as a test dependency. Because your contracts files are available on the test resources path, the common jar classes automatically become visible in your Groovy files. The following examples show how to test the dependency:
Maven. -
<dependency> - <groupId>com.example</groupId> - <artifactId>beer-common</artifactId> - <version>${project.version}</version> - <scope>test</scope> -</dependency>
+
Unresolved directive in verifier_contract.adoc - include::https://raw.githubusercontent.com/spring-cloud-samples/spring-cloud-contract-samples/master/producer/pom.xml[tags=test_dep,indent=0]
Gradle.
testCompile("com.example:beer-common:0.0.1-SNAPSHOT")
Now, you must add the dependency for the plugin to reuse at runtime, as shown in the diff --git a/single/spring-cloud-contract.html b/single/spring-cloud-contract.html index 2289a4caeb..a2166cb10a 100644 --- a/single/spring-cloud-contract.html +++ b/single/spring-cloud-contract.html @@ -3645,12 +3645,7 @@ maintain the static compatibility. Later in this document, you can see examples to pass the dependency to your project.
First, add the common jar dependency as a test dependency. Because your contracts files are available on the test resources path, the common jar classes automatically become visible in your Groovy files. The following examples show how to test the dependency:
Maven. -
<dependency> - <groupId>com.example</groupId> - <artifactId>beer-common</artifactId> - <version>${project.version}</version> - <scope>test</scope> -</dependency>
+
Unresolved directive in verifier_contract.adoc - include::https://raw.githubusercontent.com/spring-cloud-samples/spring-cloud-contract-samples/master/producer/pom.xml[tags=test_dep,indent=0]
Gradle.
testCompile("com.example:beer-common:0.0.1-SNAPSHOT")
Now, you must add the dependency for the plugin to reuse at runtime, as shown in the
diff --git a/spring-cloud-contract.xml b/spring-cloud-contract.xml
index b7ac073e29..6d0015daab 100644
--- a/spring-cloud-contract.xml
+++ b/spring-cloud-contract.xml
@@ -5825,12 +5825,7 @@ visible in your Groovy files. The following examples show how to test the depend