简体   繁体   English

将Android库从JCenter发布到Maven Central

[英]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.

相关问题 JCenter和Maven Central如何相互不同? - How are JCenter and Maven Central coordinates different from one another? Maven Central 和 JCenter 是否容易被域名抢注? - Are Maven Central and JCenter vulnerable for typosquatting? 如何迁移gradle发布脚本以将OSS库发布到Bintray的JCenter而不是Sonatype的Maven Central - How to migrate gradle publication script to publish OSS library to Bintray's JCenter instead of Sonatype's Maven Central 将工件发布到Maven Central时出错 - Error in publishing Artifact to maven central 将现有库的升级版本发布到 Maven 中心时,是否必须创建 Sonatype JIRA 票证? - Do I have to create Sonatype JIRA ticket when publishing an upgraded version of an existing library to maven central? 如何将 Android 库发布到 Maven Central Gradle 7.2.0 - How to publish Android Library to Maven Central Gradle 7.2.0 如何将android aar库与其他aar依赖项上传到maven Central? - How to upload an android aar library to maven central with other aar dependencies? Artifactory 忽略来自远程(maven 中心)的库版本? - Artifactory ignores version of a library from remote (maven central)? 从 Maven Central 导入 Beat Link Java 库到 Eclipse? - Importing Beat Link Java Library From Maven Central To Eclipse? 将Android库推送到jCenter javadoc错误 - Pushing Android library to jCenter javadoc error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM