Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update command to use as is

...

  1. Grab the latest source from SVN
    Code Block
    svn co https://svn.apache.org/repos/asf/activemq/camel/trunk camel
    cd camel
    
  2. Change the version number in:

    pom.xml - in the project root and all subprojects

    the value of <camel-version> property in the root pom.xml

    The command below will do the trick (replace for the appropriate version); use x.y-RCn for a release candidate
    Code Block
    find . -name pom.xml | grep -v .svn | xargs sed -i -e s/x.y-SNAPSHOT/x.y/g
    
  3. Let Maven build, test, package, and deploy the binaries
    Code Block
    mvn clean source:jar deploy -Drelease-repo-url=file:$HOME/w1.m2/m2repository -Dm1-repo-url=file:$HOME/w1/m1.maven -P release
    
  4. Tag the release using your local workspace to a new CAMEL_X_Y label
    Code Block
    svn copy ../camel https://svn.apache.org/repos/asf/activemq/camel/tags/camel-x.y.z -m "Camel x.y.z Release"
    
  5. Check that the binaries look fine.

...