Skip to content

Instantly share code, notes, and snippets.

@smarthi
Last active August 25, 2016 01:52
Show Gist options
  • Select an option

  • Save smarthi/ac1b5058f05ab17d2f84862940ec4eba to your computer and use it in GitHub Desktop.

Select an option

Save smarthi/ac1b5058f05ab17d2f84862940ec4eba to your computer and use it in GitHub Desktop.
<settings>
<profiles>
<profile>
<id>signed_release</id>
<properties>
<mavenExecutorId>forked-path</mavenExecutorId>
<gpg.keyname>D3541808</gpg.keyname>
<gpg.passphrase>xxx</gpg.passphrase>
<deploy.altRepository>incubator-pirk.releases::default::https://dist.apache.org/repos/dist/dev/incubator/pirk/</deploy.altRepository>
<username>apacheId</username>
<deploy.url>https://dist.apache.org/repos/dist/dev/incubator/pirk/</deploy.url>
</properties>
</profile>
</profiles>
<servers>
<!-- To publish a snapshot of some part of Maven -->
<server>
<id>apache.releases.https</id>
<username>userid</username>
<password>xxx</password>
</server>
<!-- To publish a website of some part of Maven -->
<server>
<id>apache.website</id>
<username>userid</username>
<password>xxx</password>
<filePermissions>664</filePermissions>
<directoryPermissions>775</directoryPermissions>
</server>
<!-- To stage a release of some part of Maven -->
<server>
<id>stagingSite</id> <!-- must match hard-coded repository identifier in site:stage-deploy -->
<username>userid</username>
<filePermissions>664</filePermissions>
<directoryPermissions>775</directoryPermissions>
</server>
<server>
<id>repository.apache.org</id>
<username>userid</username>
<password>xxxx</password>
</server>
</servers>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment