AlbumenJ commented on issue #10703:
URL: https://github.com/apache/dubbo/issues/10703#issuecomment-1272192131
dubbo-dependencies-bom 是 dubbo 内部管理版本号的一个模块。
用户使用 dubbo 有两种方式,一种是使用 all in one 的 dubbo-all(`<dependencies> <dependency>
<groupId>org.apache.dubbo</groupId> <artifactId>dubbo</artifactId>
<version>${dubbo.version}</version> </dependency>`),另外一种是直接 dubbo 每个组件直接依赖。
前者会有部分的传递依赖(如 netty 等核心组件),这些的版本会和 dubbo-dependencies-bom 一致,其他的依赖(如
nacos-client 等扩展组件)需要用户手动依赖,也可以依赖 dubbo-dependencies-bom 进行版本管理。
后者组件直接依赖的三方依赖会直接传递,版本会和 dubbo-dependencies-bom 一致。
总的来说,dubbo-dependencies-bom 是 dubbo 为了集中管理版本号而设计的。另外 dubbo-bom 是一个对外的管理所有
dubbo 依赖(包括 dubbo 自己的)bom,比 dubbo-dependencies-bom 管理职责更大。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]