将Bintray软件包链接到JCenter [英] Linking Bintray Package to JCenter

查看:239
本文介绍了将Bintray软件包链接到JCenter的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Bintray中有一个叫做三脚架"的包裹,在这里:

https://bintray.com/bbende/bbende-maven/tripod

tripod软件包是具有标准多模块设置的Maven项目,其中根pomartifactId是三脚架,其子模块为tripod-search-api,tripod-search-solr和tripod-search-lucene./p>

在我的个人Maven回购中,所有这些工件都发布在groupId com.bbende.tripod下,如下所示:

https://dl.bintray.com/bbende/bbende-maven/com/bbende/tripod/

当我请求使用三脚架主页面上的链接将三脚架包装链接到JCenter时,它最终仅链接了顶级pom的工件,如下所示:

http://jcenter.bintray.com/com/bbende/tripod/

您应该如何将整个软件包链接到JCenter?

我认为这里是同样的问题,看起来需要Bintray/jcenter的人进行手动干预:

Bintray不会将软件包的工件之一同步到jcenter

解决方案

Bintray软件包使用特定的路径前缀链接到jcenter,因此基本路径下的所有子模块和版本都将自动链接到jcenter,而无需进一步的手动干预

似乎您的软件包链接在仅包含一个子模块的基本路径下,因此,其他子模块未链接到jcenter.

在这种情况下,您应该联系JFrog支持人员以修复包含路径.在这种情况下,我们已经对其进行了修复,并且所有子模块都已正确链接到jcenter.

最好的问候, Itamar

I have a package in Bintray called "tripod" which is here:

https://bintray.com/bbende/bbende-maven/tripod

The tripod package is a Maven project with a standard multi-module setup where the root pom artifactId is tripod, with sub-modules of tripod-search-api, tripod-search-solr, and tripod-search-lucene.

In my personal Maven repo, all of these artifacts are published under the groupId com.bbende.tripod as shown here:

https://dl.bintray.com/bbende/bbende-maven/com/bbende/tripod/

When I requested to link the tripod package to JCenter using the link on the main package page for "tripod" it ended up linking only the artifact for the top-level pom as seen here:

http://jcenter.bintray.com/com/bbende/tripod/

How are you supposed to get the entire package linked to JCenter?

I believe this is the same issue here which looks like it requires manual intervention from someone at bintray/jcenter:

Bintray does not sync one of the artifacts of the package to the jcenter

解决方案

A Bintray package is linked to jcenter with a specific path prefix, so that all submodules and versions under the base path will automatically be linked to jcenter without further manual intervention.

It seems like your package is linked under the base path containing only one of the submodules, therefore, the other submodules are not linked to jcenter.

In such cases, you should contact JFrog support in order to fix the inclusion path. In this case, we have already fixed it and all submodules are correctly linked to jcenter.

Best Regards, Itamar

这篇关于将Bintray软件包链接到JCenter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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