Merge branch '1.0.x'

This commit is contained in:
Marcin Grzejszczak
2017-01-16 13:45:59 +01:00
409 changed files with 683 additions and 415 deletions

View File

@@ -51,4 +51,37 @@ cd spring-cloud-contract-tools/spring-cloud-contract-gradle-plugin
./gradlew clean build
```
=== Helpful scripts
We're providing a couple of helpful scripts to build the project.
To build the project in parallel (by default uses 4 cores but you can change it)
```
./scripts/parallelBuild.sh
```
and with 8 cores
```
CORES=8 ./scripts/parallelBuild.sh
```
To build the project without any integration tests (by default uses 1 core)
```
./scripts/noIntegration.sh
```
and with 8 cores
```
CORES=8 ./scripts/noIntegration.sh
```
To generate the documentation (both the root one and the maven plugin one)
```
./scripts/generateDocs.sh
```

View File

@@ -754,7 +754,7 @@ Example of a `pom.xml` inside the `server` folder.
include::{introduction_url}/samples/standalone/contracts/com/example/server/pom.xml[indent=0]
----
As you can see there are no dependencies other than the Spring Cloud Contract Verifier Maven plugin.
As you can see there are no dependencies other than the Spring Cloud Contract Maven Plugin.
Those poms are necessary for the consumer side to run `mvn clean install -DskipTests` to locally install
stubs of the producer project.

View File

@@ -463,7 +463,7 @@ will be extending the `com.example.ComBase` whereas the rest of tests will exten
===== Invoking generated tests
Spring Cloud Contract Verifier Maven Plugin generates verification code into directory `/generated-test-sources/contractVerifier` and attach this directory to `testCompile` goal.
Spring Cloud Contract Maven Plugin generates verification code into directory `/generated-test-sources/contractVerifier` and attach this directory to `testCompile` goal.
For Groovy Spock code use: