Linking Bintray Package to JCenter

[亡魂溺海] 提交于 2019-12-11 10:37:22

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/46260212/linking-bintray-package-to-jcenter

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!