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. Example: - On the SVN trunk change all references of
(N)-SNAPSHOTby(N+1)-SNAPSHOT(for ex from0.6-SNAPSHOTto0.7-SNAPSHOT). Perform this by doing a global search and replace. - In the new branch, do the same and replace all references of
(N)-SNAPSHOTby(N)(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:
- 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