/!\ Under Construction /!\

This page provides some additional notes how to use Nexus for performing a release.

These notes are intended to be used together with the Apache Portals portals-pom-1.3 or later: http://svn.apache.org/repos/asf/portals/portals-pom/tags/portals-pom-1.3/pom.xml

The primary source and instructions are provided here: http://maven.apache.org/developers/release/apache-release.html

For the remainder of this page, the primary source will be referred to as the main doc.

Prerequisites:

<settings>
  ...
  <profiles>
    <profile>
      <id>apache-release</id>
      <properties>
        <gpg.passphrase> <!-- YOUR KEY PASSPHRASE --> </gpg.passphrase>
        <!-- optional:
             if you have multiple user-ids and need to use the not default user-id,
             specify gpg.keyname which will be passed on to gpg as --local-user
        <gpg.keyname> YOUR LOCAL USER-ID TO SIGN </gpg.keyname>
        -->
        <!-- ignored:
             gpg.useAgent doesn't work although it is a documented property for the gpg-plugin
           <gpg.useAgent>true</gpg.useAgent>
        -->
      </properties>
    </profile>
  </profiles>
  ...
</settings>

<settings>
...
  <servers>
    <!-- To publish a snapshot of some part of Maven -->
    <server>
      <id>apache.snapshots.https</id>
      <username> <!-- YOUR APACHE SVN USERNAME --> </username>
      <password> <!-- YOUR APACHE SVN PASSWORD --> </password>
    </server>
    <!-- To publish a website of some part of Maven -->
    <server>
      <id>apache.website</id>
      <username> <!-- YOUR APACHE SSH USERNAME --> </username>
      <filePermissions>664</filePermissions>
      <directoryPermissions>775</directoryPermissions>
    </server>
    <!-- To stage a release of some part of Maven -->
    <server>
      <id>apache.releases.https</id>
      <username> <!-- YOUR APACHE SVN USERNAME --> </username>
      <password> <!-- YOUR APACHE SVN PASSWORD --> </password>
    </server>
    <!-- To stage a website of some part of Maven -->
    <server>
      <id>stagingSite</id> <!-- must match hard-coded repository identifier in site:stage-deploy -->
      <username> <!-- YOUR APACHE SSH USERNAME --> </username>
      <filePermissions>664</filePermissions>
      <directoryPermissions>775</directoryPermissions>
    </server>
    ...
  </servers>
</settings>

Step 1: Prepare your POMs for release

Step 2: Publish a snapshot

Step 3: Prepare the release

Step 4: Stage the release

Step 5: close the staging repository

Follow the instructions as described in the main doc once you've released all candidates you intended to, otherwise repeat the above steps for additional release candidates first.

Once the staging repository is closed, its repository path becomes public accessible, so you can use that as reference in the VOTE email to send out in the next steps.

Step 6 and later

Just follow the instructions as provided in the main doc

FrontPage/HowtoUseNexusForRelease (last edited 2010-04-09 14:18:41 by 034-082-045-062)