java - 在 Maven 中央部署一个版本
问题描述
我想在 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
有谁知道它可能是什么?
解决方案
推荐阅读
- android - 管理员如何在聊天中将玩家静音?
- node.js - 中间件似乎被服务器忽略了
- php - 为什么中间件中设置的加密cookie也返回字符串长度?
- python - 如何连续训练keras模型
- r - R 中基于 p 值(前向)的模型选择
- javascript - 如何在节点 js 中为 json 文件创建一个 for 循环
- javascript - chrome 扩展中的音频;有时有效,有时会导致空白 DOMException
- angular - 将 Json 数据检索到 ITest
- javascript - React Material-UI Modal TypeError:无法读取未定义的属性“hasOwnProperty”
- python - 如何在不丢失逗号的情况下将列表写入 JSON 文件