I am trying to publish my repo to maven central repo. I uploaded my public key to :
- http://keys.gnupg.net
- hkp://keyserver.ubuntu.com
- hkp://pool.sks-keyservers.net
I could even receive the response from them using gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys XXXXXXXX
But while uploading the repo to maven staging, I am getting below error
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.
I am not sure what is the mistake. Any help would be appreciated.
I am uploading public key from Windows10.