Skip to content

[Dependency] Exclude transitive spring dependencies from dubbo-all or dubbo-spring-boot-starter #14032

Open
@chickenlj

Description

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

3.3.0-beta.2

Steps to reproduce this issue

Remove the following transitive dependencies from dubbo-all, if not possible, at least exclude them in dubbo-spring-boot-starter.

  <!-- Transitive dependencies -->
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-beans</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context</artifactId>
    </dependency>

Try to completely get rid of the following dependency:

    <dependency>
      <groupId>com.alibaba.spring</groupId>
      <artifactId>spring-context-support</artifactId>
    </dependency>

What you expected to happen

  • When using spring, the recommended way is spring boot, so transitive spring dependencies is not necessary, let spring-boot-starter do this for users.
  • When using API, we don't need spring dependencies.

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

Metadata

Assignees

Type

No type

Projects

  • Status

    Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions