Advice on deploying a JAR to Maven Central (need to GPG sign the JAR)

Hey folks,

I’m building an open source java library and want to use deployment to upload compiled JAR files to Sonatype’s Nexus / Maven Central.

A big requirement they have is that I sign the build with a GPG key. I have the GPG credentials but am unsure about how to deploy and use them in a Circle CI build.

Could someone advise?

Thanks,

Matthew

2 Likes

Ever get it figured out?