Fixing stream binder

This commit is contained in:
Marcin Grzejszczak
2022-12-01 12:24:40 +01:00
parent 7b876aa6df
commit 97e43b01d2
7 changed files with 13 additions and 27 deletions

View File

@@ -446,19 +446,17 @@ If you want to use Spring Cloud Stream, remember to add a dependency on
[source,xml,indent=0,subs="verbatim,attributes",role="primary"]
.Maven
----
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream</artifactId>
<type>test-jar</type>
<scope>test</scope>
<classifier>test-binder</classifier>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream-test-binder</artifactId>
<scope>test</scope>
</dependency>
----
[source,groovy,indent=0,subs="verbatim,attributes",role="secondary"]
.Gradle
----
testImplementation(group: 'org.springframework.cloud', name: 'spring-cloud-stream', classifier: 'test-binder')
testImplementation('org.springframework.cloud:spring-cloud-stream-test-binder')
----
====
=====

View File

@@ -52,11 +52,9 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream</artifactId>
<artifactId>spring-cloud-stream-test-binder</artifactId>
<version>${spring-cloud-stream.version}</version>
<type>test-jar</type>
<scope>test</scope>
<classifier>test-binder</classifier>
</dependency>
<!-- tag::stub_runner[] -->

View File

@@ -54,11 +54,9 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream</artifactId>
<artifactId>spring-cloud-stream-test-binder</artifactId>
<version>${spring-cloud-stream.version}</version>
<type>test-jar</type>
<scope>test</scope>
<classifier>test-binder</classifier>
</dependency>
<!-- tag::verifier_test_dependencies[] -->

View File

@@ -58,11 +58,9 @@
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream</artifactId>
<type>test-jar</type>
<scope>test</scope>
<classifier>test-binder</classifier>
<artifactId>spring-cloud-stream-test-binder</artifactId>
<optional>true</optional>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>

View File

@@ -34,10 +34,8 @@
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream</artifactId>
<type>test-jar</type>
<artifactId>spring-cloud-stream-test-binder</artifactId>
<optional>true</optional>
<classifier>test-binder</classifier>
<version>${spring-cloud-stream.version}</version>
<scope>compile</scope>
</dependency>

View File

@@ -101,9 +101,7 @@
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream</artifactId>
<type>test-jar</type>
<classifier>test-binder</classifier>
<artifactId>spring-cloud-stream-test-binder</artifactId>
<optional>true</optional>
<scope>compile</scope>
</dependency>

View File

@@ -34,10 +34,8 @@
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream</artifactId>
<type>test-jar</type>
<artifactId>spring-cloud-stream-test-binder</artifactId>
<scope>test</scope>
<classifier>test-binder</classifier>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>