Skip to content

Commit

Permalink
Prevent rabbitmq starter to bring webflux on the classpath
Browse files Browse the repository at this point in the history
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
  • Loading branch information
snicoll committed Apr 26, 2018
1 parent ae499c2 commit fbe88c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spring-boot-project/spring-boot-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2574,6 +2574,12 @@
<groupId>org.springframework.amqp</groupId>
<artifactId>spring-rabbit</artifactId>
<version>${spring-amqp.version}</version>
<exclusions>
<exclusion>
<groupId>com.rabbitmq</groupId>
<artifactId>http-client</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.amqp</groupId>
Expand Down

0 comments on commit fbe88c4

Please sign in to comment.