Drop `spring-boot-rest-client-test` dependency from test starter

See gh-46356
See gh-47322
This commit is contained in:
Phillip Webb 2025-09-30 18:30:57 -07:00
parent a30e832915
commit ee72caf7dc
38 changed files with 37 additions and 38 deletions

View File

@ -26,7 +26,7 @@ dependencies {
implementation(project(":starter:spring-boot-starter-security")) implementation(project(":starter:spring-boot-starter-security"))
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testRuntimeOnly("org.apache.httpcomponents.client5:httpclient5") testRuntimeOnly("org.apache.httpcomponents.client5:httpclient5")

View File

@ -24,6 +24,6 @@ dependencies {
implementation(project(":starter:spring-boot-starter-actuator")) implementation(project(":starter:spring-boot-starter-actuator"))
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -26,6 +26,6 @@ dependencies {
implementation(project(":starter:spring-boot-starter-security")) implementation(project(":starter:spring-boot-starter-security"))
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -30,7 +30,7 @@ dependencies {
runtimeOnly("com.h2database:h2") runtimeOnly("com.h2database:h2")
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testRuntimeOnly("org.apache.httpcomponents.client5:httpclient5") testRuntimeOnly("org.apache.httpcomponents.client5:httpclient5")
} }

View File

@ -30,6 +30,6 @@ dependencies {
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -23,6 +23,6 @@ description = "Spring Boot HATEOAS smoke test"
dependencies { dependencies {
implementation(project(":starter:spring-boot-starter-hateoas")) implementation(project(":starter:spring-boot-starter-hateoas"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -38,6 +38,6 @@ dependencies {
runtimeOnly("org.glassfish.web:jakarta.servlet.jsp.jstl") runtimeOnly("org.glassfish.web:jakarta.servlet.jsp.jstl")
testImplementation(project(":starter:spring-boot-starter-jetty")) testImplementation(project(":starter:spring-boot-starter-jetty"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -26,7 +26,7 @@ dependencies {
exclude module: "spring-boot-starter-tomcat" exclude module: "spring-boot-starter-tomcat"
} }
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testRuntimeOnly("org.apache.httpcomponents.client5:httpclient5") testRuntimeOnly("org.apache.httpcomponents.client5:httpclient5")

View File

@ -26,6 +26,6 @@ dependencies {
} }
implementation(project(":starter:spring-boot-starter-jetty")) implementation(project(":starter:spring-boot-starter-jetty"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -23,7 +23,7 @@ description = "Spring Boot OAuth2 Authorization Server smoke test"
dependencies { dependencies {
implementation(project(":starter:spring-boot-starter-security-oauth2-authorization-server")) implementation(project(":starter:spring-boot-starter-security-oauth2-authorization-server"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents.client5:httpclient5") testImplementation("org.apache.httpcomponents.client5:httpclient5")
} }

View File

@ -24,7 +24,7 @@ dependencies {
implementation(project(":starter:spring-boot-starter-security-oauth2-client")) implementation(project(":starter:spring-boot-starter-security-oauth2-client"))
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents.client5:httpclient5") testImplementation("org.apache.httpcomponents.client5:httpclient5")
} }

View File

@ -24,7 +24,7 @@ dependencies {
implementation(project(":starter:spring-boot-starter-security-oauth2-resource-server")) implementation(project(":starter:spring-boot-starter-security-oauth2-resource-server"))
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testImplementation("com.squareup.okhttp3:mockwebserver") testImplementation("com.squareup.okhttp3:mockwebserver")
} }

View File

@ -28,6 +28,6 @@ dependencies {
runtimeOnly('io.micrometer:micrometer-registry-prometheus') runtimeOnly('io.micrometer:micrometer-registry-prometheus')
testImplementation(project(":module:spring-boot-micrometer-metrics-test")) testImplementation(project(":module:spring-boot-micrometer-metrics-test"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -28,7 +28,7 @@ dependencies {
runtimeOnly("com.h2database:h2") runtimeOnly("com.h2database:h2")
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testImplementation("org.awaitility:awaitility") testImplementation("org.awaitility:awaitility")
} }

View File

@ -24,7 +24,7 @@ dependencies {
implementation(project(":starter:spring-boot-starter-security-saml2")) implementation(project(":starter:spring-boot-starter-security-saml2"))
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents.client5:httpclient5") testImplementation("org.apache.httpcomponents.client5:httpclient5")
} }

View File

@ -25,7 +25,7 @@ dependencies {
implementation(project(":starter:spring-boot-starter-security")) implementation(project(":starter:spring-boot-starter-security"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testRuntimeOnly(project(":starter:spring-boot-starter-tomcat")) testRuntimeOnly(project(":starter:spring-boot-starter-tomcat"))

View File

@ -29,7 +29,7 @@ dependencies {
dockerTestImplementation(project(":core:spring-boot-testcontainers")) dockerTestImplementation(project(":core:spring-boot-testcontainers"))
dockerTestImplementation(project(":test-support:spring-boot-docker-test-support")) dockerTestImplementation(project(":test-support:spring-boot-docker-test-support"))
dockerTestImplementation(project(":starter:spring-boot-starter-restclient")) dockerTestImplementation(project(":starter:spring-boot-starter-restclient-test"))
dockerTestImplementation(project(":starter:spring-boot-starter-test")) dockerTestImplementation(project(":starter:spring-boot-starter-test"))
dockerTestImplementation("org.testcontainers:junit-jupiter") dockerTestImplementation("org.testcontainers:junit-jupiter")
dockerTestImplementation("org.testcontainers:mongodb") dockerTestImplementation("org.testcontainers:mongodb")

View File

@ -29,7 +29,7 @@ dependencies {
dockerTestImplementation(project(":core:spring-boot-testcontainers")) dockerTestImplementation(project(":core:spring-boot-testcontainers"))
dockerTestImplementation(project(":test-support:spring-boot-docker-test-support")) dockerTestImplementation(project(":test-support:spring-boot-docker-test-support"))
dockerTestImplementation(project(":starter:spring-boot-starter-restclient")) dockerTestImplementation(project(":starter:spring-boot-starter-restclient-test"))
dockerTestImplementation(project(":starter:spring-boot-starter-test")) dockerTestImplementation(project(":starter:spring-boot-starter-test"))
dockerTestImplementation("com.redis:testcontainers-redis") dockerTestImplementation("com.redis:testcontainers-redis")
dockerTestImplementation("org.testcontainers:junit-jupiter") dockerTestImplementation("org.testcontainers:junit-jupiter")

View File

@ -26,6 +26,6 @@ dependencies {
implementation(project(":starter:spring-boot-starter-session-hazelcast")) implementation(project(":starter:spring-boot-starter-session-hazelcast"))
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -29,6 +29,6 @@ dependencies {
runtimeOnly(project(":starter:spring-boot-starter-jdbc")) runtimeOnly(project(":starter:spring-boot-starter-jdbc"))
runtimeOnly("com.h2database:h2") runtimeOnly("com.h2database:h2")
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -33,6 +33,6 @@ dependencies {
providedRuntime("org.glassfish.web:jakarta.servlet.jsp.jstl") providedRuntime("org.glassfish.web:jakarta.servlet.jsp.jstl")
providedRuntime("org.apache.tomcat.embed:tomcat-embed-jasper") providedRuntime("org.apache.tomcat.embed:tomcat-embed-jasper")
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -23,7 +23,7 @@ description = "Spring Boot Tomcat multi-connectors smoke test"
dependencies { dependencies {
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents.client5:httpclient5") testImplementation("org.apache.httpcomponents.client5:httpclient5")
} }

View File

@ -24,7 +24,7 @@ dependencies {
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
implementation(project(":starter:spring-boot-starter-actuator")) implementation(project(":starter:spring-boot-starter-actuator"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents.client5:httpclient5") testImplementation("org.apache.httpcomponents.client5:httpclient5")
} }

View File

@ -23,6 +23,6 @@ description = "Spring Boot Tomcat smoke test"
dependencies { dependencies {
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -33,7 +33,7 @@ dependencies {
providedRuntime(project(":starter:spring-boot-starter-tomcat")) providedRuntime(project(":starter:spring-boot-starter-tomcat"))
providedRuntime("org.apache.tomcat.embed:tomcat-embed-jasper") providedRuntime("org.apache.tomcat.embed:tomcat-embed-jasper")
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents.client5:httpclient5") testImplementation("org.apache.httpcomponents.client5:httpclient5")
} }

View File

@ -24,6 +24,6 @@ dependencies {
implementation(project(":starter:spring-boot-starter-freemarker")) implementation(project(":starter:spring-boot-starter-freemarker"))
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -27,6 +27,6 @@ dependencies {
implementation("jakarta.xml.bind:jakarta.xml.bind-api") implementation("jakarta.xml.bind:jakarta.xml.bind-api")
testImplementation(project(":module:spring-boot-webmvc-test")) testImplementation(project(":module:spring-boot-webmvc-test"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -33,6 +33,6 @@ dependencies {
providedRuntime("org.glassfish.web:jakarta.servlet.jsp.jstl") providedRuntime("org.glassfish.web:jakarta.servlet.jsp.jstl")
providedRuntime("org.apache.tomcat.embed:tomcat-embed-jasper") providedRuntime("org.apache.tomcat.embed:tomcat-embed-jasper")
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -25,6 +25,6 @@ dependencies {
implementation(project(":starter:spring-boot-starter-security")) implementation(project(":starter:spring-boot-starter-security"))
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -24,6 +24,6 @@ dependencies {
implementation(project(":starter:spring-boot-starter-mustache")) implementation(project(":starter:spring-boot-starter-mustache"))
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -24,7 +24,7 @@ dependencies {
implementation(project(":starter:spring-boot-starter-security")) implementation(project(":starter:spring-boot-starter-security"))
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents.client5:httpclient5") testImplementation("org.apache.httpcomponents.client5:httpclient5")
} }

View File

@ -27,7 +27,7 @@ dependencies {
runtimeOnly("com.h2database:h2") runtimeOnly("com.h2database:h2")
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents.client5:httpclient5") testImplementation("org.apache.httpcomponents.client5:httpclient5")
} }

View File

@ -24,7 +24,7 @@ dependencies {
implementation(project(":starter:spring-boot-starter-security")) implementation(project(":starter:spring-boot-starter-security"))
implementation(project(":starter:spring-boot-starter-webmvc")) implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents.client5:httpclient5") testImplementation("org.apache.httpcomponents.client5:httpclient5")
} }

View File

@ -34,6 +34,6 @@ dependencies {
runtimeOnly("org.webjars:bootstrap:3.0.3") runtimeOnly("org.webjars:bootstrap:3.0.3")
runtimeOnly("org.webjars:jquery:2.0.3-1") runtimeOnly("org.webjars:jquery:2.0.3-1")
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -26,6 +26,6 @@ dependencies {
implementation(project(":starter:spring-boot-starter-validation")) implementation(project(":starter:spring-boot-starter-validation"))
testImplementation(project(":module:spring-boot-webmvc-test")) testImplementation(project(":module:spring-boot-webmvc-test"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
} }

View File

@ -25,7 +25,7 @@ dependencies {
implementation(project(":starter:spring-boot-starter-mustache")) implementation(project(":starter:spring-boot-starter-mustache"))
implementation(project(":starter:spring-boot-starter-webflux")) implementation(project(":starter:spring-boot-starter-webflux"))
testImplementation(project(":starter:spring-boot-starter-restclient")) testImplementation(project(":starter:spring-boot-starter-restclient-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testImplementation("io.projectreactor:reactor-test") testImplementation("io.projectreactor:reactor-test")
} }

View File

@ -26,7 +26,6 @@ dependencies {
api(project(":core:spring-boot-test")) api(project(":core:spring-boot-test"))
api(project(":core:spring-boot-test-autoconfigure")) api(project(":core:spring-boot-test-autoconfigure"))
api(project(":module:spring-boot-restclient-test"))
api("com.jayway.jsonpath:json-path") api("com.jayway.jsonpath:json-path")
api("jakarta.xml.bind:jakarta.xml.bind-api") api("jakarta.xml.bind:jakarta.xml.bind-api")

View File

@ -41,7 +41,7 @@ dependencies {
implementation(project(":starter:spring-boot-starter-actuator")) implementation(project(":starter:spring-boot-starter-actuator"))
systemTestImplementation(enforcedPlatform(project(path: ":platform:spring-boot-internal-dependencies"))) systemTestImplementation(enforcedPlatform(project(path: ":platform:spring-boot-internal-dependencies")))
systemTestImplementation(project(":starter:spring-boot-starter-restclient")) systemTestImplementation(project(":starter:spring-boot-starter-restclient-test"))
systemTestImplementation(project(":starter:spring-boot-starter-test")) systemTestImplementation(project(":starter:spring-boot-starter-test"))
systemTestImplementation(project(":test-support:spring-boot-test-support")) systemTestImplementation(project(":test-support:spring-boot-test-support"))
systemTestImplementation("org.apache.httpcomponents.client5:httpclient5") systemTestImplementation("org.apache.httpcomponents.client5:httpclient5")