我试图将我的回购发布到maven central repo。我上传了我的公钥给:
我甚至可以使用gpg接收他们的回复--keyserver hkp://keyserver.ubuntu.com --recv-keys XXXXXXXX
但是当将repo上传到maven staging时,我收到的误差低于此值
No public key: Key with id: (XXXXXXXXXXXXXX)was not able to be located on <a href=http://keyserver.ubuntu.com:11371/>http://keyserver.ubuntu.com:11371/</a>. Upload your public key and try the operation again.[ERROR] * No public key: Key with id: (XXXXXXXXXXXXXX) was not able to be located on <a href=http://keys.gnupg.net:11371/>http://keys.gnupg.net:11371/</a>. Upload your public key and try the operation again.
我不确定这是什么错误。任何帮助,将不胜感激。
我正在从Windows 10上传公钥。
卸载并重新安装gpg4win应用程序就可以了。