Skip to content
This repository was archived by the owner on Jan 12, 2021. It is now read-only.

HOWTO: Performing a Release

Daniel Koo edited this page Feb 3, 2014 · 2 revisions

Execute the following steps to perform a release:

Prereq: Add sonatype server information to your maven settings.xml

<servers>
   <server>
     <id>sonatype-nexus-snapshots</id>
       <username>###USERNAME###</username>
       <password>###PASSWORD###</password>
   </server>
   <server>
     <id>sonatype-nexus-staging</id>
       <username>###USERNAME###</username>
       <password>###PASSWORD###</password>
   </server>
 </servers>
  1. Run 'mvn release:clean'
  2. Run 'mvn release:prepare -Darguments=-Dgpg.passphrase=###GPG_PASSPHRASE###'
  • Choose release version (by default, it'll be your current SNAPSHOT version)
  • Choose next version (by default, it'll be the next SNAPSHOT version)
  1. Run 'mvn release:perform -Darguments=-Dgpg.passphrase=###GPG_PASSPHRASE###'
  2. Login at https://oss.sonatype.org/
  3. Click 'Staging Repositories'
  4. Search for 'finra'
  5. Choose 'org.finra-###' and click 'Close'
  6. Enter release description in the popup and submit
  7. Refresh
  8. Choose 'org.finra-###' and click 'Release'
  9. Enter release description in the popup and submit
  10. You should have received 2 e-mail notifications
  • Staging Completed
  • Promotion Completed
  1. Active sync to Maven Central Repo should already be activated so you will see the artifact within the next 24 hours.

Clone this wiki locally