Example of a <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding><java.version>1.8</java.version>
- <spring-cloud-contract.version>1.2.1.BUILD-SNAPSHOT</spring-cloud-contract.version>
+ <spring-cloud-contract.version>1.2.2.BUILD-SNAPSHOT</spring-cloud-contract.version><spring-cloud-dependencies.version>Edgware.BUILD-SNAPSHOT</spring-cloud-dependencies.version><excludeBuildFolders>true</excludeBuildFolders></properties>
diff --git a/2.0.x/multi/multi__spring_cloud_contract_verifier_setup.html b/2.0.x/multi/multi__spring_cloud_contract_verifier_setup.html
index a3e5af3a97..36e6d97b1d 100644
--- a/2.0.x/multi/multi__spring_cloud_contract_verifier_setup.html
+++ b/2.0.x/multi/multi__spring_cloud_contract_verifier_setup.html
@@ -375,11 +375,8 @@ extends com.example.base.BaseClass. This setting ta
packageWithBaseClasses and baseClassForTests.
If you want to download your contract definitions from a Maven repository, you can use
the following options:
contractDependency: The contract dependency that contains all the packaged contracts.
contractsPath: The path to the concrete contracts in the JAR with packaged contracts.
Defaults to groupid/artifactid where gropuid is slash separated.
contractsWorkOffline: Dictates whether the dependencies should be downloaded or the
-local Maven artifacts should be reused.
contractsRepositoryUrl: DEPRECATED PROPERTY - please use the contractRepository
-closure: URL to a repo with the artifacts that have contracts. If it is not provided,
-use the current Maven ones.
contractRepository - Lets you use a closure where you can define properties related
-to repository with contracts.
username: The user name to be used to connect to the repo.
password: The password to be used to connect to the repo.
proxyHost: The proxy host to be used to connect to the repo.
proxyPort: The proxy port to be used to connect to the repo.
cacheDownloadedContracts - Specifies whether to reuse downloaded JARs that contain
-contract definitions.
We cache only non-snapshot, explicitly provided versions (for example
+local Maven artifacts should be reused.
contractsRepositoryUrl: URL to a repo with the artifacts that have contracts. If it is not provided,
+use the current Maven ones.
contractsRepositoryUsername: The user name to be used to connect to the repo with contracts.
contractsRepositoryPassword: The password to be used to connect to the repo with contracts.
contractsRepositoryProxyHost: The proxy host to be used to connect to the repo with contracts.
contractsRepositoryProxyPort: The proxy port to be used to connect to the repo with contracts.
We cache only non-snapshot, explicitly provided versions (for example
+ or 1.0.0.BUILD-SNAPSHOT won’t get cached). By default, this feature is turned on.
4.2.8 Single Base Class for All Tests
When using Spring Cloud Contract Verifier in default MockMvc, you need to create a base
specification for all generated acceptance tests. In this class, you need to point to an
endpoint, which should be verified.
package org.mycompany.tests
diff --git a/2.0.x/multi/multi__spring_cloud_contract_wiremock.html b/2.0.x/multi/multi__spring_cloud_contract_wiremock.html
index 1a2b24bead..608a4d8d95 100644
--- a/2.0.x/multi/multi__spring_cloud_contract_wiremock.html
+++ b/2.0.x/multi/multi__spring_cloud_contract_wiremock.html
@@ -62,7 +62,7 @@ automatic loading of stubs, because they come from the root location
in a subdirectory called "mappings". The value of files has no
effect on the stubs loaded explicitly from the stubs attribute.
11.3 Alternative: Using JUnit Rules
For a more conventional WireMock experience, you can use JUnit @Rules to start and stop
the server. To do so, use the WireMockSpring convenience class to obtain an Options
-instance, as shown in the followin example:
@RunWith(SpringRunner.class)
+instance, as shown in the following example:
@RunWith(SpringRunner.class)@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)publicclass WiremockForDocsClassRuleTests {
diff --git a/2.0.x/single/spring-cloud-contract.html b/2.0.x/single/spring-cloud-contract.html
index 6dcd67db6b..587087b5ab 100644
--- a/2.0.x/single/spring-cloud-contract.html
+++ b/2.0.x/single/spring-cloud-contract.html
@@ -573,7 +573,7 @@ one to one to the contents of the repo.
Example of a <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding><java.version>1.8</java.version>
- <spring-cloud-contract.version>1.2.1.BUILD-SNAPSHOT</spring-cloud-contract.version>
+ <spring-cloud-contract.version>1.2.2.BUILD-SNAPSHOT</spring-cloud-contract.version><spring-cloud-dependencies.version>Edgware.BUILD-SNAPSHOT</spring-cloud-dependencies.version><excludeBuildFolders>true</excludeBuildFolders></properties>
@@ -1124,11 +1124,8 @@ extends com.example.base.BaseClass. This setting ta
packageWithBaseClasses and baseClassForTests.
If you want to download your contract definitions from a Maven repository, you can use
the following options:
contractDependency: The contract dependency that contains all the packaged contracts.
contractsPath: The path to the concrete contracts in the JAR with packaged contracts.
Defaults to groupid/artifactid where gropuid is slash separated.
contractsWorkOffline: Dictates whether the dependencies should be downloaded or the
-local Maven artifacts should be reused.
contractsRepositoryUrl: DEPRECATED PROPERTY - please use the contractRepository
-closure: URL to a repo with the artifacts that have contracts. If it is not provided,
-use the current Maven ones.
contractRepository - Lets you use a closure where you can define properties related
-to repository with contracts.
username: The user name to be used to connect to the repo.
password: The password to be used to connect to the repo.
proxyHost: The proxy host to be used to connect to the repo.
proxyPort: The proxy port to be used to connect to the repo.
cacheDownloadedContracts - Specifies whether to reuse downloaded JARs that contain
-contract definitions.
We cache only non-snapshot, explicitly provided versions (for example
+local Maven artifacts should be reused.
contractsRepositoryUrl: URL to a repo with the artifacts that have contracts. If it is not provided,
+use the current Maven ones.
contractsRepositoryUsername: The user name to be used to connect to the repo with contracts.
contractsRepositoryPassword: The password to be used to connect to the repo with contracts.
contractsRepositoryProxyHost: The proxy host to be used to connect to the repo with contracts.
contractsRepositoryProxyPort: The proxy port to be used to connect to the repo with contracts.
We cache only non-snapshot, explicitly provided versions (for example
+ or 1.0.0.BUILD-SNAPSHOT won’t get cached). By default, this feature is turned on.
4.2.8 Single Base Class for All Tests
When using Spring Cloud Contract Verifier in default MockMvc, you need to create a base
specification for all generated acceptance tests. In this class, you need to point to an
endpoint, which should be verified.
package org.mycompany.tests
@@ -4473,7 +4470,7 @@ automatic loading of stubs, because they come from the root location
in a subdirectory called "mappings". The value of files has no
effect on the stubs loaded explicitly from the stubs attribute.
11.3 Alternative: Using JUnit Rules
For a more conventional WireMock experience, you can use JUnit @Rules to start and stop
the server. To do so, use the WireMockSpring convenience class to obtain an Options
-instance, as shown in the followin example:
@RunWith(SpringRunner.class)
+instance, as shown in the following example:
@@ -350,6 +383,17 @@ was provided then the current Maven's build repositories will be
taken into consideration User property is: contractsRepositoryUrl.
If true then JAR with contracts will be taken from
diff --git a/2.0.x/spring-cloud-contract-maven-plugin/generateStubs-mojo.html b/2.0.x/spring-cloud-contract-maven-plugin/generateStubs-mojo.html
index 61000d89dc..d929519515 100644
--- a/2.0.x/spring-cloud-contract-maven-plugin/generateStubs-mojo.html
+++ b/2.0.x/spring-cloud-contract-maven-plugin/generateStubs-mojo.html
@@ -1,13 +1,13 @@
-
+
Spring Cloud Contract Maven Plugin – spring-cloud-contract:generateStubs
@@ -146,7 +146,7 @@
@@ -406,6 +439,17 @@ was provided then the current Maven's build repositories will be
taken into consideration User property is: contractsRepositoryUrl.
If true then JAR with contracts will be taken from
diff --git a/2.0.x/spring-cloud-contract-maven-plugin/help-mojo.html b/2.0.x/spring-cloud-contract-maven-plugin/help-mojo.html
index 96d164931b..6aea75c0e0 100644
--- a/2.0.x/spring-cloud-contract-maven-plugin/help-mojo.html
+++ b/2.0.x/spring-cloud-contract-maven-plugin/help-mojo.html
@@ -1,13 +1,13 @@
-
+
Spring Cloud Contract Maven Plugin – spring-cloud-contract:help
@@ -146,7 +146,7 @@
Version: 2.0.0.BUILD-SNAPSHOT
diff --git a/2.0.x/spring-cloud-contract.xml b/2.0.x/spring-cloud-contract.xml
index 8cc853d66c..9808438ca2 100644
--- a/2.0.x/spring-cloud-contract.xml
+++ b/2.0.x/spring-cloud-contract.xml
@@ -4,7 +4,7 @@
Spring Cloud Contract
-2017-11-22
+2017-11-27
@@ -1071,7 +1071,7 @@ one to one to the contents of the repo.
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
- <spring-cloud-contract.version>1.2.1.BUILD-SNAPSHOT</spring-cloud-contract.version>
+ <spring-cloud-contract.version>1.2.2.BUILD-SNAPSHOT</spring-cloud-contract.version>
<spring-cloud-dependencies.version>Edgware.BUILD-SNAPSHOT</spring-cloud-dependencies.version>
<excludeBuildFolders>true</excludeBuildFolders>
</properties>
@@ -1991,29 +1991,20 @@ Defaults to groupid/artifactid where gropuid
-contractsRepositoryUrl: DEPRECATED PROPERTY - please use the contractRepository
-closure: URL to a repo with the artifacts that have contracts. If it is not provided,
+contractsRepositoryUrl: URL to a repo with the artifacts that have contracts. If it is not provided,
use the current Maven ones.
-contractRepository - Lets you use a closure where you can define properties related
-to repository with contracts.
+contractsRepositoryUsername: The user name to be used to connect to the repo with contracts.
-username: The user name to be used to connect to the repo.
+contractsRepositoryPassword: The password to be used to connect to the repo with contracts.
-password: The password to be used to connect to the repo.
+contractsRepositoryProxyHost: The proxy host to be used to connect to the repo with contracts.
-proxyHost: The proxy host to be used to connect to the repo.
-
-
-proxyPort: The proxy port to be used to connect to the repo.
-
-
-cacheDownloadedContracts - Specifies whether to reuse downloaded JARs that contain
-contract definitions.
+contractsRepositoryProxyPort: The proxy port to be used to connect to the repo with contracts.We cache only non-snapshot, explicitly provided versions (for example
@@ -6903,7 +6894,7 @@ effect on the stubs loaded explicitly from the stubs attribut
Alternative: Using JUnit RulesFor a more conventional WireMock experience, you can use JUnit @Rules to start and stop
the server. To do so, use the WireMockSpring convenience class to obtain an Options
-instance, as shown in the followin example:
+instance, as shown in the following example:@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
public class WiremockForDocsClassRuleTests {