How to use fuse releases when you can't wait for Apache releases

The release cycle for Apache sometimes tend to be a bit long. Apache Camel 1.5.0 was released in october 2008. If you cant wait for a new release, you can try out the fuse releases. They are free to use and requires no license fees or whatsoever.

Fuse releases have a constant and stable release cycle. We release a stable and proven version once a month. All releases is published in our open maven repository that is open for everyone to use. More information about why is here.

Lets try it out with an example. We use the part-five.zip from the lengthy tutorial as an example.

All we have to do is:
1) Setup maven repository location
2) Change version
3) Test

Ad 1)
First we need to add the fuse maven repository. So we insert these lines into our pom.xml file:

<name>FUSESource Repository</name>

<name>FUSESource Repository</name>

Ad 2)
Then we need to change the use the fuse releases, and that is very simple as you just need to change the version.

Apache Camel 1.5.0 should be replaced with
Apache CXF 2.1.3 should be replaced with

As we configure our pom.xml to use properties we just need to change this in a single location:


Ad 3)
Then we are ready to go. So we fire the maven command:
mvn clean install

And it should start downloading all the fuse artifacts and after a while run the unit tests.

Then we can fire up jetty with:
mvn jetty:run

And it should log on the console, the camel version:
Apache Camel (CamelContext:camel) started

Thats it

No comments: