Skip to content

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

Open
timpeeters wants to merge 1 commit into
spring-cloud:mainfrom
timpeeters:fix-4256
Open

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

Conversation

@timpeeters

Copy link
Copy Markdown

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants