Hi Dan,
did you see my latest e-mail on this thread ?
I don't see any problem, as camel-hdfs or camel-soap reference
ServiceMix Specs JAXWS, which reference JAXB 2.2
(javax.xml.bind*;version=2.2 and not just javax.xml.bind*).
So it means that without these changes, these features will never work
even if we run using jre-1.6 profile.
I don't understand the previous change to be honest.
Regards
JB
On 12/24/2011 02:46 PM, Daniel Kulp wrote:
On Saturday, December 24, 2011 4:29:53 PM Willem Jiang wrote:
-1 for it.
As it brokes CAMEL-4671 even we don't add the dependency of the
xml-specs-api feature on the camel-core.
And it make it wore, the user need to remove lots of xml-specs-api this
time.
I would recommend backing out the changes for CAMEL-4671 and re-opening it for
2.10 or 3.0 when Karaf can provide better support for such use cases. Right
now, it's causing way more problems than it's solving, IMO.
Dan
If we want to support to install the feature out of box, we may
consider to provide two kind of feature this time.
On Fri Dec 23 23:56:36 2011, jbono...@apache.org wrote:
Author: jbonofre
Date: Fri Dec 23 15:56:36 2011
New Revision: 1222709
URL: http://svn.apache.org/viewvc?rev=1222709&view=rev
Log:
[CAMEL-4818] camel-hdfs and camel-soap reference xml-specs-api feature
Modified:
camel/trunk/platforms/karaf/features/src/main/resources/featur
es.xml
Modified:
camel/trunk/platforms/karaf/features/src/main/resources/features.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/platforms/karaf/features/src/m
ain/resources/features.xml?rev=1222709&r1=1222708&r2=1222709&view=diff
=======================================================================
======= ---
camel/trunk/platforms/karaf/features/src/main/resources/features.xml
(original) +++
camel/trunk/platforms/karaf/features/src/main/resources/features.xml
Fri Dec 23 15:56:36 2011 @@ -282,6 +282,7 @@
<bundle>mvn:org.apache.camel/camel-hawtdb/${project.version}
</bundle>>
</feature>
<feature name='camel-hdfs' version='${project.version}'
resolver='(obr)' start-level='50'>>
+<feature version='${servicemix-specs-version}'>xml-specs-api</feature>
<feature version='${project.version}'>camel-core</feature>
<feature>war</feature>
<bundle
dependency="true">mvn:org.apache.servicemix.specs/org.apach
e.servicemix.specs.jaxws-api-2.2/${servicemix-specs-version}
</bundle>>
@@ -595,6 +596,7 @@
<bundle>mvn:org.apache.camel/camel-snmp/${project.version}</
bundle>
</feature>
<feature name='camel-soap' version='${project.version}'
resolver='(obr)' start-level='50'>>
+<feature version='${servicemix-specs-version}'>xml-specs-api</feature>
<feature version='${project.version}'>camel-jaxb</feature>
<bundle
dependency="true">mvn:org.apache.geronimo.specs/geronimo-ws
-metadata_2.0_spec/${geronimo-ws-metadata-spec-version}</bun
dle> <bundle
dependency="true">mvn:org.apache.servicemix.specs/org.apach
e.servicemix.specs.jaxws-api-2.2/${servicemix-specs-version}
</bundle>
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com