Releases are now performed using Maven 2 so you need to have Maven 2 installed (see the building page).
| Add WebDav config As Codehaus has now forbidden shell access we'll need to configure WebDav deployment before we can release the next version of Cargo. |
- 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. Example: - On the SVN trunk change all references of
(N)-SNAPSHOTby(N+1)-SNAPSHOT(for ex from0.6-SNAPSHOTto0.7-SNAPSHOT) and commit. Perform this by doing a global search and replace. Note: You may want to perform a clean before doing the search and replace to avoid changing all the buildtargetdirectories. - In the new branch, do the same and replace all references of
(N)-SNAPSHOTby(N)and commit (Ex: from0.3-SNAPSHOTto0.3). - Delete all the
(N)-SNAPSHOTartifacts from your local maven repositories to have a clean slate. - Run
mvn installat the top level of the release branch to build the different artifacts and ensure everything is ok - Run
mvn assembly:assemblyincore/uberjarof the release branch. Note: in the future this will be done automatically when you callmvn install. - Deploy everything by typing
mvn deployat the top level of the release branch. 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:
- modify the status on the home page about the delivery
- modify the Downloads and Archived Downloads pages to update the download links
- create a release notes page for the new version
- export the wiki to a zipped HTML file and add it the Downloads page
- modify the Cargo version in the Navigation page on the wiki
- Tag the branch created in step 1 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