Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Releases are now performed using Maven 2 so you need to have Maven 2 installed (see the building page).

  1. Create a branch in SVN so that others can keep working on the trunk. Create the branch in svn+ssh://svn.cargo.codehaus.org/home/projects/cargo/scm/cargo/branches/<version> and check it out on your local machine
  2. Change all references to the SNAPSHOT version to the version to be released. Search for the snapshot version in all pom.xml and project.xml files and remove the SNAPSHORT part (Ex: from 0.3-SNAPSHOT to 0.3). Once you've made the changes search for the snaphsot version to ensure there's no place where it is referenced.
  3. Do the same on the SVN trunk by incrementing the version (for ex from 0.6-SNAPSHOT to 0.7-SNAPSHOT).
  4. Run mvn install at the top level to build the different artifacts and ensure everything is ok
  5. Run mvn assembly:assembly in core/uberjar. Note: in the future this will be done automatically when you call mvn install.
  6. Deploy everything by typing mvn deploy at the top level. For this to work you'll need to create a settings.xml file (in your .m2 directory or in your user home directory. Inside you'll need to define your credentials and more. Here's an example settings.xml:
  1. Log onto Cargo JIRA, release the current version and add the next version
  2. Check that the Cargo wiki is up to date. Specifically, perform the following updates:
    1. modify the status on the home page about the delivery
    2. export the wiki to a zipped HTML file and add it the Downloads page
    3. modify the Downloads page to include the latest download links
  3. Tag SVN by copying the HEAD to svn+ssh://svn.cargo.codehaus.org/home/projects/cargo/scm/cargo/tags/<version>
  4. Send an announcement email to Cargo mailing lists (and to other relevent sites)
  5. Create a blog post
  • No labels