Skip to content

spring-ai-retry should not require spring-webflux dependency #3307

Closed
@pkubowicz

Description

@pkubowicz

Bug description
spring-ai-retry/pom.xml contains spring-webflux. This is an invasive library (conflicts with spring-webmvc) and should not be added as a dependency without a good reason. There is no reason: no class from spring-webflux is imported. There is one import of org.springframework.web.client.ResponseErrorHandler, but it's provided by much smaller spring-web. So the dependency should be on spring-web instead.

Environment
Spring AI 1.0.0 Release

Steps to reproduce
Check spring-ai-retry/pom.xml

Expected behavior
No spring-webflux dependency

Minimal Complete Reproducible example
N/A (dependencies issue)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions