Skip to content

Instantly share code, notes, and snippets.

@stephenc
Created April 11, 2011 15:30
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 stephenc/913704 to your computer and use it in GitHub Desktop.
Save stephenc/913704 to your computer and use it in GitHub Desktop.
Minimal ~/.m2/settings.xml
<settings>
<servers>
<server>
<id>apache.snapshots.https</id>
<username><!-- your apache ldap username --></username>
<password><!-- your apache ldap password --></password>
</server>
<server>
<id>apache.releases.https</id>
<username><!-- your apache ldap username --></username>
<password><!-- your apache ldap password --></password>
</server>
</servers>
<profiles>
<profile>
<id>apache-release</id>
<properties>
<gpg.keyname>....</gpg.keyname>
<gpg.passphrase><!-- your passphrase for your gpg key goes here--></gpg.passphrase>
<!-- or -->
<gpg.useagent>true</gpg.useagent>
</properties>
</profile>
</profiles>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment