我正在尝试将我的暂存存储库推oss.sonatype.org
送到中央存储库,但是此操作失败了,并且出现了以下异常
Event: Failed: Signature Validation
typeId signature-staging
failureMessage 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.
我曾经gbp
为我生成公钥和私钥,我什至使用以下命令将公钥发送到服务器
gpg --keyserver hkp://pool.sks-keyservers.net --send-keys EE539F98
我仍然遇到同样的异常。我交叉检查并且只有一个Sub Key
,不确定我还需要做什么来推送公钥,以便可以通过 nexus 找到