Releases are now performed using Maven 2 so you need to have Maven 2 installed (see the building page).
- There four several artifacts which have separate release cycles (in this order): pom, resources, core, extensions.
- In each artifact:
- Check if there have been SVN commits on that artifact since the latest stable release. If there have been, you'll need to release.
- In the artifact's topmost pom.xml, if there are links to other modules (
core/pom.xmlcontains a property calledcargo.resources.version, for example), update these to the latest release - Release the artifact
- In the artifact's topmost pom.xml, change the links to the other modules' versions to the latest SNAPSHOT back again
- Before releasing, make sure what is going to be released is fully functional. In particular, run the core/samples using the all-downloadable profile (
mvn clean install -Pall-downloadable).- If any container is not passing, more it to the all-unstable-downloadable list.
- Make sure all containers in the all-stable-downloadable profile pass the samples.
- Releases are done with the maven release plugin. Please do a dry-run before doing the actual release to ensure there aren't any problems. You can supply your credentials on the command line (-Dusername=<username> -Dpassword=<password>), or keep them in your
settings.xmlfile (in your.m2directory or in your user home directory. 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:
- Make sure the Containers list is complete. The documentation for each container is generated in core/documentation/target/[container's name].log.
- Make sure the Navigation page is complete, pay a particular attention to the Containers and Experimental containers lists (the latter contains all containers in the all-unstable-downloadable list)
- 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 status on the home page about the delivery:
- Send an announcement email to Cargo mailing lists (and to other relevent sites)
- Create a blog post
Labels