Fixes spring-cloud/spring-cloud-stream#722 Addressing PR review comments Further addressing PR review comments Degenericizing `StreamListenerResultAdapter` with the 3rd generic argument added for returning `Disposable` `StreamListenerResultAdapter` adapt method now returns `java.io.Closeable` Addressing PR review comments Addressing PR review comments Converting `FluxToMessageChannelResultAdapter` to `PublisherToMessageChannelResultAdapter` Add `logback.xml` for reactive tests * Revert `AopUtils.getTargetClass(bean)` to really deal with target classes only. Although it does not make any effect on the `@Configuration` classes * Use `AnnotatedElementUtils.isAnnotated()` instead of `getMergedAnnotation()` to avoid synthetic methods in the `@Configuration` classes * Add artificial `.transform()` to the `IntegrationFlow` test to overcome SI Java DSL bug * Apply similar `.map()` for `Flux` tests configs for proper assertions * Simple code style polishing
93 lines
2.7 KiB
XML
93 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-stream-parent</artifactId>
|
|
<version>1.3.0.BUILD-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>spring-cloud-stream-reactive</artifactId>
|
|
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-stream</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.projectreactor</groupId>
|
|
<artifactId>reactor-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.reactivex</groupId>
|
|
<artifactId>rxjava</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.reactivex</groupId>
|
|
<artifactId>rxjava-reactive-streams</artifactId>
|
|
<version>${rxjava-reactive-streams.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-stream-test-support</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-stream-test-support-internal</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-java-dsl</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.4.3</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactSet>
|
|
<includes>
|
|
<include>io.reactivex:rxjava-reactive-streams</include>
|
|
</includes>
|
|
</artifactSet>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>rx.RxReactiveStreams</pattern>
|
|
<shadedPattern>org.springframework.cloud.stream.reactive.shaded.rx.RxReactiveStreams</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>rx.internal.reactivestreams</pattern>
|
|
<shadedPattern>org.springframework.cloud.stream.reactive.shaded.rx.internal.reactivestreams</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|