From e1d0a9f64a08533561b8e9f435c2e0466ce1a296 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Wed, 1 Nov 2017 21:44:36 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- multi/multi__customization.html | 7 +------ single/spring-cloud-contract.html | 7 +------ spring-cloud-contract.xml | 7 +------ 3 files changed, 3 insertions(+), 18 deletions(-) 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.

8.1.3 Test the Dependency in the Project’s Dependencies

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")

8.1.4 Test a Dependency in the Plugin’s Dependencies

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.

8.1.3 Test the Dependency in the Project’s Dependencies

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")

8.1.4 Test a Dependency in the Plugin’s Dependencies

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 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]