简体   繁体   中英

How to sync maven artifact from jcenter to maven central?

I have an artifact (jar) that is deployed to bintray and is available on jcenter. I would also like this artifact to be available on maven central.
The instructions available from bintray (located here: https://www.jfrog.com/confluence/display/BT/Syncing+with+Third-Party+Platforms ) tell me to click the "Maven Central" tab within the "version" page for a version of my artifact within the bintray UI. Unfortunately, there is no "Maven Central" tab on that page. Any advice on how to get this artifact synced from bintray/jcenter to maven central? Thanks!

Currently, there is no option to sync to Maven Central when using the new UI look. You will first need to switch to the "old look" of Bintray. This can be done by selecting the "Go to Old Look" option. (Screenshot #1) Then, after switching to the old look, select the "Maven Central" option (Screenshot #2).

I hope this helps.

#1

在此处输入图片说明

The most important part to sync with Maven central is surprisingly omitted from every. single. article there exists. The credentials are not the Sonatype JIRA credentials, which are also the same for Nexus Repository Manager . After logging into Nexus Repository Manager, click on 'Profile' on the top right, and then from the drop down, choose 'User Token'. Click button 'Access New Token' to generate the credentials to be used by Bintray to sync with Maven Central.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM