This repository was archived by the owner on Jan 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
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>
- Run 'mvn release:clean'
- 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)
- Run 'mvn release:perform -Darguments=-Dgpg.passphrase=###GPG_PASSPHRASE###'
- Login at https://oss.sonatype.org/
- Click 'Staging Repositories'
- Search for 'finra'
- Choose 'org.finra-###' and click 'Close'
- Enter release description in the popup and submit
- Refresh
- Choose 'org.finra-###' and click 'Release'
- Enter release description in the popup and submit
- You should have received 2 e-mail notifications
- Staging Completed
- Promotion Completed
- Active sync to Maven Central Repo should already be activated so you will see the artifact within the next 24 hours.