No snapshots in guides; fixes gh-1239

This commit is contained in:
Marcin Grzejszczak
2019-10-24 11:58:53 +02:00
parent f2bdf0e0d9
commit 76cd89c76d
8 changed files with 8 additions and 8 deletions

View File

@@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.0.RC1</version>
<version>2.2.0.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

View File

@@ -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);

View File

@@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.0.RC1</version>
<version>2.2.0.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

View File

@@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.0.RC1</version>
<version>2.2.0.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

View File

@@ -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 {

View File

@@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.0.RC1</version>
<version>2.2.0.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

View File

@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.guide</groupId>
<artifactId>spring-guides</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version>
<version>1.0.0</version>
<packaging>pom</packaging>
<name>Spring Guides</name>
<description>Spring Guides</description>

View File

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