Releases are now performed using Maven 2 so you need to have Maven 2 installed (see the building page).
- 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 - Change all references to the SNAPSHOT version to the version to be released. Search for the snapshot version in all
pom.xmlandproject.xmlfiles and remove the SNAPSHORT part (Ex: from0.3-SNAPSHOTto0.3). Once you've made the changes search for the snaphsot version to ensure there's no place where it is referenced. - Do the same on the SVN trunk by incrementing the version (for ex from
0.6-SNAPSHOTto0.7-SNAPSHOT). - Run
mvn installat the top level to build the different artifacts and ensure everything is ok - Run
mvn assembly:assemblyincore/uberjar. Note: in the future this will be done automatically when you callmvn install. - Deploy everything by typing
mvn deployat the top level. For this to work you'll need to create asettings.xmlfile (in your.m2directory or in your user home directory. Inside you'll need to define your credentials and more. Here's an examplesettings.xml:
- Log onto Cargo JIRA, release the current version and add the next version
- Check that the Cargo wiki is up to date. Specifically, perform the following updates:
- Tag SVN by copying the HEAD to
svn+ssh://svn.cargo.codehaus.org/home/projects/cargo/scm/cargo/tags/<version> - Send an announcement email to Cargo mailing lists (and to other relevent sites)
- Create a blog post
Labels