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

**URL:** <https://discuss.circleci.com/t/advice-on-deploying-a-jar-to-maven-central-need-to-gpg-sign-the-jar/7847>\
**Category:** Build Environment\
**Created:** [November 3, 2016, 1:44am UTC](https://discuss.circleci.com/t/advice-on-deploying-a-jar-to-maven-central-need-to-gpg-sign-the-jar/7847 "2016-11-03T01:44:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rathboma](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/rathboma/32/14325_2.png) [@rathboma](https://discuss.circleci.com/u/rathboma)\
**Post date:** [November 3, 2016, 1:44am UTC](https://discuss.circleci.com/t/advice-on-deploying-a-jar-to-maven-central-need-to-gpg-sign-the-jar/7847/1 "2016-11-03T01:44:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![frizman21](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/frizman21/32/7632_2.png) [@frizman21](https://discuss.circleci.com/u/frizman21)\
**Post date:** [July 6, 2017, 12:13am UTC](https://discuss.circleci.com/t/advice-on-deploying-a-jar-to-maven-central-need-to-gpg-sign-the-jar/7847/2 "2017-07-06T00:13:53Z")

</div>

Ever get it figured out?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:38am UTC](https://discuss.circleci.com/t/advice-on-deploying-a-jar-to-maven-central-need-to-gpg-sign-the-jar/7847/3 "2018-06-18T11:38:51Z")

</div>


