在Maven Central上部署发布

问题描述

我想在Maven Central上发布我的Java程序。 从SNAPSHOT上传也可以。但是,当我尝试发布发行版时,总是会收到以下错误消息。

Nexus Staging Rules Failure Report
[ERROR] ==================================
[ERROR]
[ERROR] Repository "xxxxx" failures
[ERROR]   Rule "signature-staging" failures
[ERROR]     * No public key: Key with id: (xxxxx) was not able to be located on http://keyserver.ubuntu.com:11371. Upload your public key and try the operation again.

然后,我尝试使用以下命令将密钥上传到服务器。

gpg --keyserver http://keyserver.ubuntu.com --send-keys xxxxx

然后我收到此错误

gpg: WARNING: nothing exported
gpg: skipped "xxxxx": Not found
gpg: keyserver send Failed: Not found

有人知道这可能是什么吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)