Skip to content

Commit

Permalink
Add spring-context for testing the `SpringWebClientFlowableHttpClie…
Browse files Browse the repository at this point in the history
…nt` in `flowable-http`

The `SpringWebClientFlowableHttpClient` is using `ReactorClientHttpConnector` from `spring-web`,
which since Spring Framework 6.1 is implementing `SmartLifecycle` and thus needs `spring-context`
  • Loading branch information
filiphr committed Feb 9, 2024
1 parent d8a9981 commit 31407f9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/flowable-http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,16 @@
<artifactId>spring-webflux</artifactId>
<scope>test</scope>
</dependency>
<!--
The SpringWebClientFlowableHttpClient is using ReactorClientHttpConnector,
which since Spring Framework 6.1 is implementing SmartLifecycle and thus needs spring-context.
See https://github.com/spring-projects/spring-framework/issues/31180#issuecomment-1934453468 for more information.
-->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.projectreactor.netty</groupId>
<artifactId>reactor-netty</artifactId>
Expand Down

0 comments on commit 31407f9

Please sign in to comment.