Parent Maven POM
Generate GPG key and push it to maven central server:
gpg --full-generate-key
gpg --list-secret-keys --keyid-format SHORT
gpg --keyserver hkp://keyserver.ubuntu.com --send-keys <key id>
Needed secrets:
- GPG_SECRET_KEY
Add this output as a value to GPG_SECRET_KEY
gp --armor --export-secret-key <key id>
- GPG_PASSPHRASE
- OSSRH_USERNAME
- OSSRH_PASS