How to create and announce a Camel release.
Maven 2 Setup
Before you deploy anything to the maven repository using Maven 2, you should configure your ~/.m2/settings.xml file
so that the file permissions of the deployed artifacts are group writeable. If you do not do this, other developers will not able to overwrite your SNAPSHOT releases with newer versions.
<settings> ... <servers> <server> <id>apache-repo</id> <username>chirino</username> <directoryPermissions>775</directoryPermissions> <filePermissions>664</filePermissions> </server> <server> <id>apache-snapshots</id> <username>chirino</username> <directoryPermissions>775</directoryPermissions> <filePermissions>664</filePermissions> </server> <server> <id>apache-website</id> <username>chirino</username> <directoryPermissions>775</directoryPermissions> <filePermissions>664</filePermissions> </server> </servers> ... </settings>
Creating the Camel Release
- Grab the latest source from SVN
Wiki Markup
svn co svn+ssh:// https://svn.apache.org/repos/asf/incubator/activemq/camel/trunk cd activemq
- Change the version number: (we so need to make this step automatic) :
project.xml
etc/project.xml
the WireFormat version (if needed.)
maven clean default multiproject:deploy dist:deploy# Let Maven build, test, package, and deploy the binaries
svn mkdir svn+ssh://https://svn.apache.org/repos/asf/incubator/activemq/camel/tags/CAMEL_X_Y -m "Camel X.Y Release"# Tag the release using your local workspace to a new CAMEL_X_Y label
svn copy ../activemq svn+ssh://https://svn.apache.org/repos/asf/incubator/activemq/camel/tags/CAMEL_X_Y/activemq -m "Camel X.Y Release"mvn camel:run -DremoteRepo=http://people.apache.org/~chirino/apache-camel-1.2.0-RC1/maven2# Check that the binaries look fine. h2. Testing the Camel Release Candidate When folks need to test out a release candidate, the jars will not have been uploaded to the Maven repo. This means that the example programs which use Maven will not automatically work. So whenever running the [Examples] you need to append the following command line argument...
Assuming that the release candidate is deployed to *http://people.apache.org/~chirino/apache-camel-1.2.0-RC1/maven2*.
Announcing the Camel Release
- Perform a release in JIRA and create a new release version in JIRA
- Create a download page for the release in the WIKI similar like the Camel 1.0 Release
- Update the Xml Reference page with a link to the HTML and XSD
- Mail the dev & user lists
- Post a news entry on the WIKI
- Have a beer!