Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Spring Cloud Stream test dependency for Spring Boot 3.0 #1069

Closed
bclozel opened this issue Dec 21, 2022 · 0 comments
Closed

Update Spring Cloud Stream test dependency for Spring Boot 3.0 #1069

bclozel opened this issue Dec 21, 2022 · 0 comments
Assignees

Comments

@bclozel
Copy link
Member

bclozel commented Dec 21, 2022

With Spring Boot 2.7.x, start.spring.io is adding the following test dependency to the generated Maven builds only (see spring-io/initializr#1159):

<dependency>
	<groupId>org.springframework.cloud</groupId>
	<artifactId>spring-cloud-stream</artifactId>
	<scope>test</scope>
	<classifier>test-binder</classifier>
	<type>test-jar</type>
</dependency>

As of Spring Cloud Stream 4.0 (and Spring Boot 3.0), we should instead use the following for both Maven and Gradle builds:

<dependency>
	<groupId>org.springframework.cloud</groupId>
	<artifactId>spring-cloud-stream-test-binder</artifactId>
	<scope>test</scope>
</dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant