From 76cd89c76d6ea38caabb98409651fff532837085 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Thu, 24 Oct 2019 11:58:53 +0200 Subject: [PATCH] No snapshots in guides; fixes gh-1239 --- guides/gs-contract-rest/complete/contract-rest-client/pom.xml | 2 +- .../src/test/java/hello/ContractRestClientApplicationTest.java | 2 +- guides/gs-contract-rest/complete/contract-rest-service/pom.xml | 2 +- guides/gs-contract-rest/initial/contract-rest-client/pom.xml | 2 +- .../src/test/java/hello/ContractRestClientApplicationTest.java | 2 +- guides/gs-contract-rest/initial/contract-rest-service/pom.xml | 2 +- guides/gs-contract-rest/pom.xml | 2 +- guides/gs-contract-rest/test/run.sh | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/guides/gs-contract-rest/complete/contract-rest-client/pom.xml b/guides/gs-contract-rest/complete/contract-rest-client/pom.xml index 12b54a9ff2..7194cb6154 100644 --- a/guides/gs-contract-rest/complete/contract-rest-client/pom.xml +++ b/guides/gs-contract-rest/complete/contract-rest-client/pom.xml @@ -11,7 +11,7 @@ org.springframework.boot spring-boot-starter-parent - 2.2.0.RC1 + 2.2.0.RELEASE diff --git a/guides/gs-contract-rest/complete/contract-rest-client/src/test/java/hello/ContractRestClientApplicationTest.java b/guides/gs-contract-rest/complete/contract-rest-client/src/test/java/hello/ContractRestClientApplicationTest.java index 831b53dfee..a0e97c520a 100644 --- a/guides/gs-contract-rest/complete/contract-rest-client/src/test/java/hello/ContractRestClientApplicationTest.java +++ b/guides/gs-contract-rest/complete/contract-rest-client/src/test/java/hello/ContractRestClientApplicationTest.java @@ -17,7 +17,7 @@ public class ContractRestClientApplicationTest { @Rule public StubRunnerRule stubRunnerRule = new StubRunnerRule() - .downloadStub("com.example", "contract-rest-service", "0.0.1-SNAPSHOT", "stubs") + .downloadStub("com.example", "contract-rest-service", "0.0.1", "stubs") .withPort(8100) .stubsMode(StubRunnerProperties.StubsMode.LOCAL); diff --git a/guides/gs-contract-rest/complete/contract-rest-service/pom.xml b/guides/gs-contract-rest/complete/contract-rest-service/pom.xml index c4e0f1c2ea..c52d011070 100644 --- a/guides/gs-contract-rest/complete/contract-rest-service/pom.xml +++ b/guides/gs-contract-rest/complete/contract-rest-service/pom.xml @@ -11,7 +11,7 @@ org.springframework.boot spring-boot-starter-parent - 2.2.0.RC1 + 2.2.0.RELEASE diff --git a/guides/gs-contract-rest/initial/contract-rest-client/pom.xml b/guides/gs-contract-rest/initial/contract-rest-client/pom.xml index a283a87d84..20a5481557 100644 --- a/guides/gs-contract-rest/initial/contract-rest-client/pom.xml +++ b/guides/gs-contract-rest/initial/contract-rest-client/pom.xml @@ -11,7 +11,7 @@ org.springframework.boot spring-boot-starter-parent - 2.2.0.RC1 + 2.2.0.RELEASE diff --git a/guides/gs-contract-rest/initial/contract-rest-client/src/test/java/hello/ContractRestClientApplicationTest.java b/guides/gs-contract-rest/initial/contract-rest-client/src/test/java/hello/ContractRestClientApplicationTest.java index a0075039ad..600fed8b60 100644 --- a/guides/gs-contract-rest/initial/contract-rest-client/src/test/java/hello/ContractRestClientApplicationTest.java +++ b/guides/gs-contract-rest/initial/contract-rest-client/src/test/java/hello/ContractRestClientApplicationTest.java @@ -15,7 +15,7 @@ import org.springframework.web.client.RestTemplate; @RunWith(SpringRunner.class) @SpringBootTest @AutoConfigureStubRunner( - ids = "com.example:contract-rest-service:0.0.1-SNAPSHOT:stubs:8100", + ids = "com.example:contract-rest-service:0.0.1:stubs:8100", stubsMode = StubRunnerProperties.StubsMode.LOCAL ) public class ContractRestClientApplicationTest { diff --git a/guides/gs-contract-rest/initial/contract-rest-service/pom.xml b/guides/gs-contract-rest/initial/contract-rest-service/pom.xml index d4e4b0de79..bb4064fce4 100644 --- a/guides/gs-contract-rest/initial/contract-rest-service/pom.xml +++ b/guides/gs-contract-rest/initial/contract-rest-service/pom.xml @@ -11,7 +11,7 @@ org.springframework.boot spring-boot-starter-parent - 2.2.0.RC1 + 2.2.0.RELEASE diff --git a/guides/gs-contract-rest/pom.xml b/guides/gs-contract-rest/pom.xml index 2e7fc42740..a08c9c4b54 100644 --- a/guides/gs-contract-rest/pom.xml +++ b/guides/gs-contract-rest/pom.xml @@ -5,7 +5,7 @@ 4.0.0 org.springframework.guide spring-guides - 1.0.0.BUILD-SNAPSHOT + 1.0.0 pom Spring Guides Spring Guides diff --git a/guides/gs-contract-rest/test/run.sh b/guides/gs-contract-rest/test/run.sh index 3bed497cc1..7c020f6745 100755 --- a/guides/gs-contract-rest/test/run.sh +++ b/guides/gs-contract-rest/test/run.sh @@ -9,7 +9,7 @@ export MAVEN_OPTS="${GUIDES_MAVEN_SYSTEM_PROPERTIES}" export GRADLE_OPTS="${GUIDES_GRADLE_SYSTEM_PROPERTIES}" export JAVA_TOOL_OPTIONS="${MAVEN_OPTS}" -cd $(dirname $0) +cd "$(dirname $0)" cd ../complete