简体   繁体   English

如何在不了解Maven的情况下从Bintray同步到Maven Central

[英]How to sync from Bintray to Maven Central without knowing Maven

I recently started working as a developer and I need to sync a repo from bintray to maven central . 我最近开始以开发人员的身份工作,我需要将回购从Bintray同步到Maven Central I have never used Maven or the mvn command line utility ever - I started as a Scala sbt developer. 我从未使用过Maven或mvn命令行实用程序-我是从Scala sbt开发人员开始的。

I was told to follow these instructions but I cannot because I don't know Maven or Gradle or Nexus or any of these other things - all I know is sbt bintray . 有人告诉我要遵循这些指示,但是我不能因为我不知道Maven或Gradle或Nexus或其他任何东西-我所知道的就是sbt bintray

"In the Maven Central tab, all you have to do is enter your Maven Central User token key and User token password" “在Maven Central选项卡中,您要做的就是输入Maven Central用户令牌密钥和用户令牌密码”

I have never heard of Maven Central keys or user token passwords, but without any prior knowlege I could use some instructions. 我从未听说过Maven Central密钥或用户令牌密码,但是如果没有任何先验知识,我可以使用一些说明。

You need to create an account in Sonatype JIRA. 您需要在Sonatype JIRA中创建一个帐户 Those will be your https://oss.sonatype.org (and Maven Central) username and password . 这些将是您的https://oss.sonatype.org (和Maven Central)用户名和密码 Then you need to create a new issue to set your permissions right. 然后,您需要创建一个新问题来设置权限。 Once done, you'll be able to login with the credentials to https://oss.sonatype.org and get the user token needed for Bintray from the user account management there. 完成后,您将能够使用凭据登录https://oss.sonatype.org,并从那里的用户帐户管理获取Bintray所需的用户令牌。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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