【问题标题】:Looking for google-api-services BOM or compatibility matrix寻找 google-api-services BOM 或兼容性矩阵
【发布时间】:2021-08-09 13:44:42
【问题描述】:

我正在从事一个涉及 google-api-services 之外的不同库的项目* 我的 pom 包括

    <dependency>
        <groupId>com.google.oauth-client</groupId>
        <artifactId>google-oauth-client</artifactId>
        <version></version>
    </dependency>
    <dependency>
        <groupId>com.google.api-client</groupId>
        <artifactId>google-api-client</artifactId>
        <version></version>
    </dependency>
    <dependency>
        <groupId>com.google.auth</groupId>
        <artifactId>google-auth-library-oauth2-http</artifactId>
        <version></version>
    </dependency>
    <dependency>
        <groupId>com.google.apis</groupId>
        <artifactId>google-api-services-gmail</artifactId>
        <version></version>
    </dependency>
    <dependency>
        <groupId>com.google.apis</groupId>
        <artifactId>google-api-services-admin-directory</artifactId>
        <version></version>
    </dependency>

我在版本混合方面遇到了一些问题,在某些情况下我没有遇到此类方法错误,而在某些情况下,API 的行为不同。

Google 是否提供任何经过验证的版本间兼容性的物料清单 (BOM)。我可以看到他们有一些项目,比如 https://github.com/googleapis/java-shared-dependencies#google-cloud-shared-dependencies 但我可以在上面找到它。

【问题讨论】:

标签: google-api google-oauth gmail-api


【解决方案1】:

更新: 我收到了谷歌团队对 github.com/googleapis/google-auth-library-java/issues/675 的回复 常见的依赖项 BOM,这些将是一个更好的起点: https://github.com/googleapis/java-shared-dependencies https://github.com/googleapis/java-cloud-bom

【讨论】:

    猜你喜欢
    • 2022-07-22
    • 1970-01-01
    • 2010-10-24
    • 2015-07-29
    • 2011-04-22
    • 2023-04-08
    • 1970-01-01
    • 2020-02-28
    • 2021-05-21
    相关资源
    最近更新 更多