plusmancn edited a comment on pull request #366: URL: https://github.com/apache/dubbo-samples/pull/366#issuecomment-920200045
## Compatibility Testing Scenario Usage Pre-requirements: Both provider and consumer can not use the same `POM`, because you cannot guarantee that all the codes you write Dubbo 2.0 and 3.0 support at the same time, they must be divided into two independent projects. This is also applicable in daily business compatibility testing Add new grammar to `case-versions.conf`: ```yaml # 原常规配置 # dubbo.version=2.7*, 3.* spring.version=4.*, 5.* # 支持不同的 servcie 应用,配置不同的 dubbo 版本依赖,与 dubbo.version 二选一 # 为防止构建用例倍级增长,不不建议配置多个版本 dubbo.provider.version=3.* dubbo.consumer.version=2.7.* ``` And then in each consumer and provider project, you can configure `POM`'s properties as follows: ``` ``` -- 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]
