Skip to content

Instantly share code, notes, and snippets.

@hertzsprung
Created May 6, 2012 21:57
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 hertzsprung/2624752 to your computer and use it in GitHub Desktop.
Save hertzsprung/2624752 to your computer and use it in GitHub Desktop.
Maven credentials
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>sonatype-nexus-snapshots</id>
<username>myusername</username>
<password>mypassword</password>
</server>
<server>
<id>sonatype-nexus-staging</id>
<username>myusername</username>
<password>mypassword</password>
</server>
</servers>
<profiles>
<profile>
<id>sign</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.passphrase>mypassphrase</gpg.passphrase>
</properties>
</profile>
</profiles>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment