JCenter和Bintray不同步

编程入门 行业动态 更新时间:2024-10-25 10:25:18
本文介绍了JCenter和Bintray不同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在 Bintray 中发布了Scala库,用于Scala 2.11和2.10

但是在 JCenter 中,它仅适用于Scala 2.10版本./p>

我以为它是自动同步的,但是好像我错了.

您知道如何同步两个存储库吗?

解决方案

通常,在更改工件路径时,尽管以前已包含JCenter,但您将无法通过JCenter解析您的内容. 原因是在JCenter中包含Scala库是为了文件的路径. 因此,它最初包含在路径前缀'com/acervera/osm4scala/osm4scala-core_2.10'下.

但是,我们已经在GroupId级别上重新链接了您的Scala库,因此您的版本将自动同步: 'osm4scala-core_2.10','osm4scala-core_2.11'等.

人.

I published a Scala library in Bintray, for Scala 2.11 and 2.10

But in JCenter, it is only available the Scala 2.10 version.

I thought that it was in sync automatically, but looks like I was wrong.

Any idea how to sync both repositories?

解决方案

Usually when changing the artifact path you won't be able to resolve your content through JCenter although it was previously included. The reason for this is that the inclusion of your scala library in JCenter is for the files’ path. Therefore, it was originally included under the path prefix 'com/acervera/osm4scala/osm4scala-core_2.10'.

However, we have re-linked your scala library on the GroupId level so your versions will be synchronized automatically: 'osm4scala-core_2.10', 'osm4scala-core_2.11', etc..

Guy.

更多推荐

JCenter和Bintray不同步

本文发布于:2023-10-26 19:10:11,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1531091.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不同步   JCenter   Bintray

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!