Skip to content

Instantly share code, notes, and snippets.

@SeunMatt
Created November 4, 2018 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SeunMatt/79abd3c3a7d110fefe01d8eaea730001 to your computer and use it in GitHub Desktop.
Save SeunMatt/79abd3c3a7d110fefe01d8eaea730001 to your computer and use it in GitHub Desktop.
This is a sample settings.xml file for deploying a Java library to OSSRH
<settings>
<servers>
<server>
<id>ossrh</id>
<username>jira-username</username>
<password>jira-password</password>
</server>
</servers>
<profiles>
<profile>
<id>ossrh</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.executable>gpg</gpg.executable>
<gpg.passphrase>pass-phrase</gpg.passphrase>
</properties>
</profile>
</profiles>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment