wiki:MakingReleases

Making Releases

When it's time to cut a new release of jactiveresource, here's the steps:

  1. Make sure all the tickets in the release are either closed or moved to another release
  2. Change the version number in pom.xml and commit it
  3. Tag the release in subversion
  4. Change the version in pom.xml on the trunk to be {nextversion}-SNAPSHOT and commit it
  5. Checkout the tag
  6. Do a nice clean build and package:
    $ mvn clean
    $ mvn package -DskipTests
    
  7. Copy packages to the web server
  8. Update the Download page with the new release
  9. Update the milestone to have a summary and the links to the downloads
  10. Make the javadocs by:
    $ mvn javadoc:javadoc
    
  11. Copy the javadocs to the web server
  12. Update the wiki start page to add the api documentation links

Some of these steps can be automated with the maven release plugin, see  http://www.vineetmanohar.com/2009/10/how-to-automate-project-versioning-and-release-with-maven/ for details.

We also need to teach mvn deploy how to copy the files to the web server in the proper location. This may be able to be done with  http://docs.atlassian.com/maven-upload-plugin/1.1/usage.html, although it looks like it hasn't been updated in a while.