将Android库从JCenter发布到Maven Central

时间:2016-07-18 07:31:35

标签: java android bintray jcenter maven-central

我正在执行these步骤 通过Bintray和Android Studio在JCenter上提交了File Picker Android库。该库已链接到JCenter。我提供了Sonatype帐户详细信息和GPG密钥等所有详细信息,还在Sonatype中创建了一个新项目问题。但是,当我尝试将库同步到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.

我该怎么办?

1 个答案:

答案 0 :(得分:2)

原因就在那里,在错误消息中。

您似乎没有权限在您尝试发布的路径下发布到Maven Central。请检查项目的组ID是否与您在Sonatype JIRA中请求所有权的组ID相匹配。