diff --git a/samples/standalone/contracts/com/example/server/pom.xml b/samples/standalone/contracts/com/example/server/pom.xml index 087dcdc855..f911e9865b 100644 --- a/samples/standalone/contracts/com/example/server/pom.xml +++ b/samples/standalone/contracts/com/example/server/pom.xml @@ -22,22 +22,9 @@ UTF-8 17 4.0.5-SNAPSHOT - 2022.0.5-SNAPSHOT true - - - - org.springframework.cloud - spring-cloud-dependencies - ${spring-cloud-release.version} - pom - import - - - - diff --git a/samples/standalone/dsl/http-client/build.gradle b/samples/standalone/dsl/http-client/build.gradle index 4ed96649bb..2cc4918bc6 100644 --- a/samples/standalone/dsl/http-client/build.gradle +++ b/samples/standalone/dsl/http-client/build.gradle @@ -13,12 +13,12 @@ repositories { mavenLocal() maven { url "https://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/milestone" } -// maven { url "https://repo.spring.io/release" } } dependencyManagement { imports { - mavenBom "org.springframework.cloud:spring-cloud-dependencies:$BOM_VERSION" + mavenBom "org.springframework.cloud:spring-cloud-contract-dependencies:$verifierVersion" + mavenBom "org.springframework.cloud:spring-cloud-stream-dependencies:$springCloudStreamVersion" } } diff --git a/samples/standalone/dsl/http-client/gradle.properties b/samples/standalone/dsl/http-client/gradle.properties index a1c6172de9..a23e0ad2bf 100644 --- a/samples/standalone/dsl/http-client/gradle.properties +++ b/samples/standalone/dsl/http-client/gradle.properties @@ -1,3 +1,4 @@ org.gradle.daemon=false -BOM_VERSION=2022.0.5-SNAPSHOT +verifierVersion=4.0.5-SNAPSHOT +springCloudStreamVersion=4.0.5-SNAPSHOT bootVersion=3.0.9 diff --git a/samples/standalone/dsl/http-client/pom.xml b/samples/standalone/dsl/http-client/pom.xml index cb88466fef..ef8e139a7f 100644 --- a/samples/standalone/dsl/http-client/pom.xml +++ b/samples/standalone/dsl/http-client/pom.xml @@ -47,13 +47,11 @@ org.springframework.cloud spring-cloud-starter-stream-rabbit - ${spring-cloud-stream.version} org.springframework.cloud spring-cloud-stream-test-binder - ${spring-cloud-stream.version} test @@ -83,6 +81,13 @@ pom import + + org.springframework.cloud + spring-cloud-stream-dependencies + ${spring-cloud-stream.version} + pom + import + diff --git a/samples/standalone/dsl/http-server/build.gradle b/samples/standalone/dsl/http-server/build.gradle index 2d511b9740..ee8ee3d41a 100644 --- a/samples/standalone/dsl/http-server/build.gradle +++ b/samples/standalone/dsl/http-server/build.gradle @@ -15,15 +15,13 @@ repositories { mavenLocal() maven { url "https://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/milestone" } - maven { url "https://repo.spring.io/release" } } // end::deps_repos[] -ext.set("rest-assured.version", "5.2.1") // TODO: Remove once upgraded in Boot - dependencyManagement { imports { - mavenBom "org.springframework.cloud:spring-cloud-dependencies:$BOM_VERSION" + mavenBom "org.springframework.cloud:spring-cloud-contract-dependencies:$verifierVersion" + mavenBom "org.springframework.cloud:spring-cloud-stream-dependencies:$springCloudStreamVersion" } } diff --git a/samples/standalone/dsl/http-server/gradle.properties b/samples/standalone/dsl/http-server/gradle.properties index c32335a15d..a23e0ad2bf 100644 --- a/samples/standalone/dsl/http-server/gradle.properties +++ b/samples/standalone/dsl/http-server/gradle.properties @@ -1,4 +1,4 @@ org.gradle.daemon=false verifierVersion=4.0.5-SNAPSHOT -BOM_VERSION=2022.0.5-SNAPSHOT +springCloudStreamVersion=4.0.5-SNAPSHOT bootVersion=3.0.9 diff --git a/samples/standalone/dsl/http-server/pom.xml b/samples/standalone/dsl/http-server/pom.xml index 466c0f22f4..eb7f8bed82 100644 --- a/samples/standalone/dsl/http-server/pom.xml +++ b/samples/standalone/dsl/http-server/pom.xml @@ -49,13 +49,11 @@ org.springframework.cloud spring-cloud-starter-stream-rabbit - ${spring-cloud-stream.version} org.springframework.cloud spring-cloud-stream-test-binder - ${spring-cloud-stream.version} test @@ -77,13 +75,12 @@ ${spring-cloud-contract.version} pom import - - + - io.rest-assured - rest-assured-bom - 5.2.1 + org.springframework.cloud + spring-cloud-stream-dependencies + ${spring-cloud-stream.version} pom import diff --git a/samples/standalone/restdocs/http-client/build.gradle b/samples/standalone/restdocs/http-client/build.gradle index e64f69d857..d75165ca0c 100644 --- a/samples/standalone/restdocs/http-client/build.gradle +++ b/samples/standalone/restdocs/http-client/build.gradle @@ -19,7 +19,6 @@ repositories { mavenLocal() maven { url "https://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/milestone" } - maven { url "https://repo.spring.io/release" } } apply plugin: 'groovy' @@ -29,8 +28,8 @@ apply plugin: 'maven-publish' dependencyManagement { imports { - mavenBom "org.springframework.cloud:spring-cloud-dependencies:$BOM_VERSION" - mavenBom "org.springframework.cloud:spring-cloud-contract-dependencies:${project.findProperty('verifierVersion') ?: verifierVersion}" + mavenBom "org.springframework.cloud:spring-cloud-contract-dependencies:$verifierVersion" + mavenBom "org.springframework.cloud:spring-cloud-stream-dependencies:$springCloudStreamVersion" } } diff --git a/samples/standalone/restdocs/http-client/gradle.properties b/samples/standalone/restdocs/http-client/gradle.properties index c32335a15d..a23e0ad2bf 100644 --- a/samples/standalone/restdocs/http-client/gradle.properties +++ b/samples/standalone/restdocs/http-client/gradle.properties @@ -1,4 +1,4 @@ org.gradle.daemon=false verifierVersion=4.0.5-SNAPSHOT -BOM_VERSION=2022.0.5-SNAPSHOT +springCloudStreamVersion=4.0.5-SNAPSHOT bootVersion=3.0.9 diff --git a/samples/standalone/restdocs/http-server/build.gradle b/samples/standalone/restdocs/http-server/build.gradle index 6bb63c49d9..5fde7e7a5f 100644 --- a/samples/standalone/restdocs/http-server/build.gradle +++ b/samples/standalone/restdocs/http-server/build.gradle @@ -14,12 +14,10 @@ repositories { mavenLocal() maven { url "https://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/milestone" } - maven { url "https://repo.spring.io/release" } } dependencyManagement { imports { - mavenBom "org.springframework.cloud:spring-cloud-dependencies:${BOM_VERSION}" mavenBom "org.springframework.cloud:spring-cloud-contract-dependencies:${verifierVersion}" } } diff --git a/samples/standalone/restdocs/http-server/gradle.properties b/samples/standalone/restdocs/http-server/gradle.properties index c32335a15d..626e4f9ba1 100644 --- a/samples/standalone/restdocs/http-server/gradle.properties +++ b/samples/standalone/restdocs/http-server/gradle.properties @@ -1,4 +1,3 @@ org.gradle.daemon=false verifierVersion=4.0.5-SNAPSHOT -BOM_VERSION=2022.0.5-SNAPSHOT bootVersion=3.0.9 diff --git a/samples/standalone/webclient/http-client/build.gradle b/samples/standalone/webclient/http-client/build.gradle index 16b81fad0b..95edc7e2c2 100644 --- a/samples/standalone/webclient/http-client/build.gradle +++ b/samples/standalone/webclient/http-client/build.gradle @@ -13,12 +13,10 @@ repositories { mavenLocal() maven { url "https://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/milestone" } - maven { url "https://repo.spring.io/release" } } dependencyManagement { imports { - mavenBom "org.springframework.cloud:spring-cloud-dependencies:${BOM_VERSION}" mavenBom "org.springframework.cloud:spring-cloud-contract-dependencies:${verifierVersion}" } } diff --git a/samples/standalone/webclient/http-client/gradle.properties b/samples/standalone/webclient/http-client/gradle.properties index c32335a15d..626e4f9ba1 100644 --- a/samples/standalone/webclient/http-client/gradle.properties +++ b/samples/standalone/webclient/http-client/gradle.properties @@ -1,4 +1,3 @@ org.gradle.daemon=false verifierVersion=4.0.5-SNAPSHOT -BOM_VERSION=2022.0.5-SNAPSHOT bootVersion=3.0.9 diff --git a/samples/standalone/webclient/http-server/build.gradle b/samples/standalone/webclient/http-server/build.gradle index afda75b3b8..7a76265890 100644 --- a/samples/standalone/webclient/http-server/build.gradle +++ b/samples/standalone/webclient/http-server/build.gradle @@ -20,12 +20,10 @@ repositories { mavenLocal() maven { url "https://repo.spring.io/snapshot" } maven { url "https://repo.spring.io/milestone" } -// maven { url "https://repo.spring.io/release" } } dependencyManagement { imports { - mavenBom "org.springframework.cloud:spring-cloud-dependencies:${BOM_VERSION}" mavenBom "org.springframework.cloud:spring-cloud-contract-dependencies:${verifierVersion}" } } diff --git a/samples/standalone/webclient/http-server/gradle.properties b/samples/standalone/webclient/http-server/gradle.properties index c32335a15d..626e4f9ba1 100644 --- a/samples/standalone/webclient/http-server/gradle.properties +++ b/samples/standalone/webclient/http-server/gradle.properties @@ -1,4 +1,3 @@ org.gradle.daemon=false verifierVersion=4.0.5-SNAPSHOT -BOM_VERSION=2022.0.5-SNAPSHOT bootVersion=3.0.9