The discussions around the entire xml-specs/jaxb/etc... stuff in the features file has shown that this commit has caused a lot more problems than it's actually solving. Thus, I'm officially putting a -1 on this commit as it's causing breakages in other components, causes cast exceptions and other issues at runtime, etc....
In the future when Karaf can provide better solutions for this issue, we can can resolve this. But at this point, we need to stay with the same solutions that users are expecting and that have worked fine on the 2.8.x and earlier versions of Camel. In anycase, this needs to be reverted and CAMEL-4671 re-opened until a better solution can be found. Dan On Monday, November 14, 2011 4:01:24 PM gno...@apache.org wrote: > Author: gnodet > Date: Mon Nov 14 16:01:24 2011 > New Revision: 1201768 > > URL: http://svn.apache.org/viewvc?rev=1201768&view=rev > Log: > [CAMEL-4671] The camel-core feature should not reference jaxb2 api / impl > > Modified: > camel/trunk/platforms/karaf/features/src/main/resources/features.xml > > Modified: > camel/trunk/platforms/karaf/features/src/main/resources/features.xml URL: > http://svn.apache.org/viewvc/camel/trunk/platforms/karaf/features/src/main/ > resources/features.xml?rev=1201768&r1=1201767&r2=1201768&view=diff > =========================================================================== > === --- camel/trunk/platforms/karaf/features/src/main/resources/features.xml > (original) +++ > camel/trunk/platforms/karaf/features/src/main/resources/features.xml Mon > Nov 14 16:01:24 2011 @@ -25,13 +25,9 @@ > </feature> > <feature name='camel-core' version='${pom.version}' resolver='(obr)' > start-level='50'> <feature version="[3,4)">spring</feature> > - <bundle > dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.spe > cs.activation-api-1.1/${servicemix-specs-version}</bundle> - <bundle > dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.spe > cs.jaxb-api-2.2/${servicemix-specs-version}</bundle> - <bundle > dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.spe > cs.stax-api-1.0/${servicemix-specs-version}</bundle> - > <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jax > b-impl/${jaxb-bundle-version}</bundle> > <bundle>mvn:org.apache.camel/camel-core/${pom.version}</bundle> > <bundle>mvn:org.apache.camel.karaf/camel-karaf-commands/${pom.version}</bun > dle> - </feature> > +§ </feature> > <feature name='camel-spring' version='${pom.version}' resolver='(obr)' > start-level='50'> <bundle > dependency="true">mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/${ger > onimo-jta-spec-version}</bundle> <feature version="[3,4)">spring</feature> -- Daniel Kulp dk...@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com