Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Portals Wiki" for 
change notification.

The following page has been changed by AteDouma:
http://wiki.apache.org/portals/FrontPage/HowtoUseNexusForRelease

New page:
/!\ Under Construction /!\

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

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

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

= Prerequisites: =

 * Ensure you can login on https://repository.apache.org with your Apache SVN 
username and password

 * Ensure you have been given the appropriate rights on Nexus to access the 
'''Enterprise->Staging''' left-side menu item.

   ''If you don't have the appropriate rights (but you should have) you might 
get a 401 error, in which case you need to contact the Apache Repository team 
to have it corrected.''    

 * Define the following GPG configuration setup in a profile named 
''''apache-release'''' within your local maven settings 
''(~/.m2/settings.xml)'':

   ''Note: the '''main doc''' incorrectly uses the name '''release''' for this 
profile''
{{{
<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 defauult 
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>
}}}

 * Define the following required Apache Servers in your local maven settings 
''(~/.m2/settings.xml)'', see also: 
http://maven.apache.org/developers/committer-settings.html
{{{
<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>
}}}

Reply via email to