JCenter和Bintray不同步 [英] JCenter and Bintray not in Sync

查看:173
本文介绍了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不同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆