Remember: Usage of maven release plugin

Change the current used version numbers:

mvn release:update-versions

Deploy to Sonatype:

mvn clean install
PASS=
USER=
mvn release:clean
(Store the project into the repository ... svn ci ... git commit)
mvn release:prepare -Dusername=$USER -Dpassword=$PASS
mvn release:perform
  • Visit https://oss.sonatype.org/
  • Login
  • Open ‘Staging Repositories’
  • Search (in my case ‘mhus’)
  • Select and Close Repository, Message: ‘Ready to release’
  • Refresh and wait until closed
  • Select and Release Repository, Message: ‘Ready to release’
  • Refresh until it’s dropped

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s