【问题标题】:Bintray and Jcenter are not synchronizedBintray 和 Jcenter 不同步
【发布时间】:2020-12-04 02:02:20
【问题描述】:

对于两个 Bintray 包,我们将在以下位置发布多个工件:

但是JCenter上只有两个criteo-adapter-developmentartifacts是同步的:

期望是同步所有工件。 我们有另一个具有类似设置的软件包,目前运行良好:https://jcenter.bintray.com/com/criteo/publisher/

我在 SO 上看到了其他类似的问题,例如 Bintray does not sync one of the artifacts of the package to the jcenter,但不幸的是,除了发布新的 SO 问题外,我们似乎无法采取任何行动。

【问题讨论】:

    标签: publishing bintray jcenter


    【解决方案1】:

    请注意,当您为特定包提交 JCenter 包含请求时,groupID 下的所有 artifactID 都将包含在 JCenter 中。如果您在已链接到 JCenter 的 groupID 下添加其他 artifactID,则这些 artifactID 将不会在 JCenter 中镜像,因为 JCenter 为单个包托管 Single path。

    在您的包“publisher-sdk-mopub-adapters”的情况下,groupID com/criteo/mediation/mopub 下有两个 artifactID 标准适配器 标准适配器开发

    JCenter中只包含第一个artifactID criteo-adapter-development,为了添加另一个artifactID,新建一个Bintray包,包含路径GroupID+artifactID下的所有文件,即com/criteo/mediation/mopub/criteo -adapter-development 以便将包托管在路径https://jcenter.bintray.com/com/criteo/mediation/mopub/下的JCenter中

    【讨论】:

    • 这增加了发布脚本的复杂性,最糟糕的是,它会破坏它们的统一性。有没有办法再次请求将 bintray 包同步到 jcenter ?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-12-27
    • 2021-04-16
    • 2017-09-14
    • 2018-05-23
    • 2018-08-26
    • 1970-01-01
    相关资源
    最近更新 更多