我在 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不同步
发布评论