zalando/logbook

logbook-spring-boot-autoconfigure in 3.0.0-RC.2 is using org.zalando:logbook-httpclient dependency

marcindabrowski opened this issue · 1 comments

Description

In logbook-spring-boot-autoconfigure pom.xml there islogbook-httpclient dependency.

Expected Behavior

Support for Apache HttpClient 4 has been removed in Spring Framework 6.0, and replaced with Apache HttpClient 5.

Because of that logbook-httpclient should not be added as a default dependency to logbook-spring-boot-autoconfigure.

Actual Behavior

The below dependency is present in logbook-spring-boot-autoconfigure pom.xml.

<dependency>
  <groupId>org.zalando</groupId>
  <artifactId>logbook-httpclient</artifactId>
</dependency>

Possible Fix

logbook-httpclient dependency should be removed from logbook-spring-boot-autoconfigure pom.xml.

Your Environment

  • Version used: 3.0.0-RC.2