CN-GuoZiyang / My-RPC-Framework

一个简单的RPC框架的实现
https://cn-guoziyang.github.io/My-RPC-Framework/
MIT License
808 stars 192 forks source link

Could top.guoziyang:rpc-api:3.0-SNAPSHOT drop off redundant dependencies? #11

Open Celebrate-future opened 2 years ago

Celebrate-future commented 2 years ago

image This figure presents the dependency tree between multiple modules in My-RPC-Framework. As shown in this figure, Library org.slf4j:slf4j-simple:jar:1.7.30 in rpc-common, rpc-core, rpc-api, test-server, test-client is inherited from their parent module. However, it is not used by rpc-api. We can perform refactoring operations in the pom, by removing such redundant dependencies in rpc-api.

Specifically, the scope of org.slf4j:slf4j-simple:jar:1.7.30 in rpc-api can be changed from compile to provided. The revisions in the pom are described as follows: image