Going back to snapshots

This commit is contained in:
Marcin Grzejszczak
2017-01-30 11:47:27 +01:00
parent dfceed2ce1
commit e36a6e2b56
75 changed files with 123 additions and 138 deletions

View File

@@ -5,17 +5,14 @@ buildscript {
maven { url "http://repo.spring.io/libs-snapshot-local" }
maven { url "http://repo.spring.io/libs-release-local" }
maven { url "http://repo.spring.io/libs-staging-local" }
maven { url 'http://repo.spring.io/plugins-snapshot' }
maven { url "http://repo.spring.io/plugins-release-local" }
maven { url "http://repo.spring.io/plugins-staging-local/" }
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.5.0.RC1"
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.5.0.BUILD-SNAPSHOT"
}
}
group = 'com.example'
version = '0.0.1.M1'
version = '0.0.1-SNAPSHOT'
repositories {
mavenCentral()
@@ -42,7 +39,7 @@ dependencies {
testCompile 'org.springframework.cloud:spring-cloud-contract-wiremock'
testCompile "org.springframework.boot:spring-boot-starter-test"
testCompile "com.example:http-server-restdocs:0.0.1.M1:stubs"
testCompile "com.example:http-server-restdocs:0.0.1-SNAPSHOT:stubs"
}
test {

View File

@@ -1,3 +1,3 @@
org.gradle.daemon=false
verifierVersion=1.1.0.M1
verifierVersion=1.1.0.BUILD-SNAPSHOT
BOM_VERSION=Dalston.BUILD-SNAPSHOT

View File

@@ -5,7 +5,7 @@
<groupId>com.example</groupId>
<artifactId>http-client-restdocs</artifactId>
<version>0.0.1.M1</version>
<version>0.0.1-SNAPSHOT</version>
<name>Spring Cloud Contract RestDocs Http Client Sample</name>
<description>Spring Cloud Contract RestDocs Http Client Sample</description>
@@ -13,14 +13,14 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.0.RC1</version>
<version>1.5.0.BUILD-SNAPSHOT</version>
<relativePath />
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<spring-cloud-contract.version>1.1.0.M1</spring-cloud-contract.version>
<spring-cloud-contract.version>1.1.0.BUILD-SNAPSHOT</spring-cloud-contract.version>
</properties>
<dependencies>
@@ -48,7 +48,7 @@
<groupId>com.example</groupId>
<artifactId>http-server-restdocs</artifactId>
<classifier>stubs</classifier>
<version>0.0.1.M1</version>
<version>0.0.1-SNAPSHOT</version>
<scope>test</scope>
<exclusions>
<exclusion>

View File

@@ -29,10 +29,10 @@ public class LoanApplicationServiceTests {
@Autowired
private LoanApplicationService service;
@Value("classpath:META-INF/com.example/http-server-restdocs/0.0.1.M1/mappings/markClientAsFraud.json")
@Value("classpath:META-INF/com.example/http-server-restdocs/0.0.1-SNAPSHOT/mappings/markClientAsFraud.json")
private Resource markClientAsFraud;
@Value("classpath:META-INF/com.example/http-server-restdocs/0.0.1.M1/mappings/markClientAsNotFraud.json")
@Value("classpath:META-INF/com.example/http-server-restdocs/0.0.1-SNAPSHOT/mappings/markClientAsNotFraud.json")
private Resource markClientAsNotFraud;
@Autowired

View File

@@ -10,12 +10,12 @@ buildscript {
maven { url "http://repo.spring.io/plugins-staging-local/" }
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.5.0.RC1"
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.5.0.BUILD-SNAPSHOT"
}
}
group = 'com.example'
version = '0.0.1.M1'
version = '0.0.1-SNAPSHOT'
repositories {
mavenCentral()

View File

@@ -1,3 +1,3 @@
org.gradle.daemon=false
verifierVersion=1.1.0.M1
verifierVersion=1.1.0.BUILD-SNAPSHOT
BOM_VERSION=Dalston.BUILD-SNAPSHOT

View File

@@ -5,7 +5,7 @@
<groupId>com.example</groupId>
<artifactId>http-server-restdocs</artifactId>
<version>0.0.1.M1</version>
<version>0.0.1-SNAPSHOT</version>
<name>Spring Cloud Contract RestDocs Http Server Sample</name>
<description>Spring Cloud RestDocs Verifier Http Server Sample</description>
@@ -13,14 +13,14 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.0.RC1</version>
<version>1.5.0.BUILD-SNAPSHOT</version>
<relativePath />
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<spring-cloud-contract.version>1.1.0.M1</spring-cloud-contract.version>
<spring-cloud-contract.version>1.1.0.BUILD-SNAPSHOT</spring-cloud-contract.version>
</properties>
<dependencies>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-contract-samples-standalone</artifactId>
<version>1.1.0.M1</version>
<version>1.1.0.BUILD-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
@@ -17,7 +17,7 @@
<description>Spring Cloud Contract Standalone Test Samples used for end to end tests</description>
<properties>
<spring-cloud-contract.version>1.1.0.M1</spring-cloud-contract.version>
<spring-cloud-contract.version>1.1.0.BUILD-SNAPSHOT</spring-cloud-contract.version>
</properties>
<modules>