From fbe88c483e61acc672732b84d947ede3ca237027 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 26 Apr 2018 16:44:42 +0200 Subject: [PATCH] Prevent rabbitmq starter to bring webflux on the classpath This commit excludes `com.rabbitmq:http-client` from `spring-rabbit` as the former brings spring webflux for an optional feature. This also prevents Spring Boot to consider that a web server should be started as all the necessary pieces are unexpectedly present. Closes gh-12853 --- spring-boot-project/spring-boot-dependencies/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spring-boot-project/spring-boot-dependencies/pom.xml b/spring-boot-project/spring-boot-dependencies/pom.xml index 742db059e25c..8693b52165d9 100644 --- a/spring-boot-project/spring-boot-dependencies/pom.xml +++ b/spring-boot-project/spring-boot-dependencies/pom.xml @@ -2574,6 +2574,12 @@ org.springframework.amqp spring-rabbit ${spring-amqp.version} + + + com.rabbitmq + http-client + + org.springframework.amqp