[英]Publishing Android Library from JCenter to Maven Central
I was following these steps to submitted a File Picker Android Library on JCenter through Bintray and Android Studio. 我正在按照以下步骤通过Bintray和Android Studio在JCenter上提交文件选择器 Android库。 The library has been linked to JCenter.
该库已链接到JCenter。 I have provided with all details like Sonatype account details and GPG keys, Also have created an Issue in Sonatype as a new Project.
我提供了所有详细信息,例如Sonatype帐户详细信息和GPG密钥,还创建了一个作为新项目的Sonatype问题。 However, when I try to sync library to maven central, I am getting following error:
但是,当我尝试将库同步到Maven Central时,出现以下错误:
Last Synced: Never
Last Sync Status: Sync Failed
Last Sync Errors: Failed to promote repository: central_bundles-7671. Server response: <nexus-error> <errors> <error> <id>*</id> <msg>User 'angads25' missing 'promote' permission for staging profile: 7edbe315063867</msg> </error> </errors> </nexus-error> Dropping existing partial staging repository.
What should I do? 我该怎么办?
The reason is right there, in the error message. 原因就在错误消息中。
It looks like you don't have the permissions to publish to Maven Central under the path you are trying to publish. 您似乎无权在您尝试发布的路径下发布到Maven Central。 Please check that the group ID of your project matches the group ID you requested the ownership for in Sonatype JIRA.
请检查您的项目的组ID是否与您在Sonatype JIRA中要求所有权的组ID匹配。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.