Skip to content

Add missing test scope to spring-boot-resttestclient - #4257

Merged
spencergibb merged 1 commit into
spring-cloud:mainfrom
timpeeters:fix-4256
Aug 7, 2026
Merged

Add missing test scope to spring-boot-resttestclient#4257
spencergibb merged 1 commit into
spring-cloud:mainfrom
timpeeters:fix-4256

Conversation

@timpeeters

Copy link
Copy Markdown
Contributor

Fixes #4256

spring-cloud-gateway-proxyexchange-webmvc declared spring-boot-resttestclient without a scope,
so it defaulted to compile and leaked onto the classpath of consuming applications.

RestTestClient is only used from src/test/java, and every other module in the repo
(server-webmvc, server-webflux, proxyexchange-webflux) already scopes it to test.
This aligns the module with them.

Signed-off-by: Tim Peeters <timpeeters@users.noreply.github.com>
@spencergibb

Copy link
Copy Markdown
Member

Good catch

@github-project-automation github-project-automation Bot moved this to Todo in 2025.1.3 Aug 7, 2026
@spencergibb spencergibb moved this from Todo to In Progress in 2025.1.3 Aug 7, 2026
@spencergibb
spencergibb merged commit bf968ab into spring-cloud:main Aug 7, 2026
1 of 2 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in 2025.1.3 Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

spring-boot-resttestclient is missing test scope in spring-cloud-gateway-proxyexchange-webmvc

3 participants