You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/07/26 00:54:48 UTC

[GitHub] [dubbo] AlbumenJ commented on issue #10363: 2.7.9+ (非 3.x)版本 revision 错误

AlbumenJ commented on issue #10363:
URL: https://github.com/apache/dubbo/issues/10363#issuecomment-1194840388

   Dubbo 日志中的版本号目前是不支持自定义的,具体可以看下 org.apache.dubbo.common.Version#getVersion(java.lang.Class<?>, java.lang.String)。大体逻辑是获取当前 Dubbo 类所在的 jar 包的文件名,然后截取其中的版本号,这个和 maven pom 里面的 revision 无关,Dubbo 打包的时候已经替换过版本号了。如果使用的是 shade 模式的确实会导致无法获取正确的版本号,因为 Dubbo 不是独立版本依赖了。


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org