Yes, the whole maven versioning infrastructure doesn't really encourage supporting two versions concurrently.

What I'm doing for myself is I use a hacked karaf features file, so that the spring and spring-dm features use v3. Then I use a camel features file built with the spring-3.x profile, but hacked at the header to pull in my hacked karaf features file.
That works, but is way too messy to release :)

Currently the camel features file references the karaf features file (to pull in spring and http). How bad would it be if it didn't? If instead you simply document a requirement for spring/http features to be installed. That would get you a spring version-agnostic features file, at the price of additional burden on the person doing the installing.
Maybe worth doing as an additional file.

Jim


On 10/05/2010 04:03, Willem Jiang wrote:
It's hard to create a Feature to support Spring 3.x and Spring 2.5.x at the same time.

Maybe we can create a new feature in camel which uses the Spring 3.x directly, in this way we don't need to wait for Karaf.

Willem

Jim Talbut wrote:
Hi,

When will the camel features.xml file for Apache karaf support Spring 3.X?
I'm guessing that the answer is: when Karaf supports Spring 3.X itself.

It would be useful to have the option now, as it is in order to use Spring 3.X in Karaf I have to manually hack a few features files.

Thanks

Jim



Reply via email to