Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 01AAC9D31 for ; Mon, 26 Dec 2011 20:49:12 +0000 (UTC) Received: (qmail 25045 invoked by uid 500); 26 Dec 2011 20:49:11 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 25015 invoked by uid 500); 26 Dec 2011 20:49:11 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 25007 invoked by uid 99); 26 Dec 2011 20:49:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Dec 2011 20:49:11 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gnodet@gmail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-iy0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Dec 2011 20:49:05 +0000 Received: by iagj37 with SMTP id j37so22513178iag.32 for ; Mon, 26 Dec 2011 12:48:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=HyWMcfb/l0i5dT2MWG+rpzn93+9rUFmRA1IJe/Zbh4Y=; b=nbyGzI+7EyLDI+CnYkO8MaWBPsrZZXiRElu7ODCv/YG07zkhD8j0Pi3npeHFSaP1sn XDsVybXtCrB6va7/quVcJYX8rqIJL8hkmOdtGMJFdjOaDTdi3jI3Hp4ki265etq494Zv M/5HVI270dD/DHNmHyyJaXqg+88BZMFKDcGZY= MIME-Version: 1.0 Received: by 10.43.51.69 with SMTP id vh5mr30036867icb.32.1324932524744; Mon, 26 Dec 2011 12:48:44 -0800 (PST) Received: by 10.231.84.18 with HTTP; Mon, 26 Dec 2011 12:48:44 -0800 (PST) In-Reply-To: <4EF8D217.9070902@nanthrax.net> References: <20111114160124.B826123889DE@eris.apache.org> <2025967.W6WuT3mrnt@dilbert.dankulp.com> <4EF8D217.9070902@nanthrax.net> Date: Mon, 26 Dec 2011 21:48:44 +0100 Message-ID: Subject: Re: svn commit: r1201768 - /camel/trunk/platforms/karaf/features/src/main/resources/features.xml From: Guillaume Nodet To: dev@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Wouldn't it be easier to fix the imported version ranges of camel-soap inst= ead ? If we think we should be able to deploy it on a plain JRE, we should import jaxb with no version range. I think that should be the case for most of the JRE provided packages. Also, I had done some experiments in deploying modified versions of the servicemix specs in the endorsed folder, and those specs are able to use the JRE implementation if none is provided, or implementations deployed as bundles. I need to experimenent a bit more on that, but the results were very promising. That would also mean that the exported package version is the default, so supporting 0.0 is a good thing imho. On Mon, Dec 26, 2011 at 20:59, Jean-Baptiste Onofr=E9 wro= te: > Hi Guillaume, > > first of all, merry Christmas to you and your family ;) > > Let me try to explain the current situation. > > In Camel, we have several features which depend on ServiceMix JAX-WS Spec > (for instance, camel-soap). > The ServiceMix Specs explicitly define an import package like: > > javax.xml.bind;version=3D"2.2.0" > > The jre package exports javax.xml.bind;version=3D0.0.0 by default. > > So it means that these features are not installable out of the box. The > users have to: > - solution 1: install manually the xml-spec-api feature or the JAXB bundl= es > - solution 2: tweak the jre.properties to export the packages with the 2.= 2.0 > version > > To summarize, it means that these features are not installable out of the > box, which is a change comparing to Camel 2.8.x. > > Regards > JB > > > On 12/26/2011 08:09 PM, Guillaume Nodet wrote: >> >> Do you have pointers to the problems ? All those packages are provided b= y >> the JRE so they should not have to be installed imho. >> Anyway, I'm in vacation until january so feel free to revert the xml >> definition, i doubt i won't be able to do that this week. >> >> On Monday, December 26, 2011, Daniel Kulp =A0wrote: >>> >>> >>> 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. =A0 Thus, I'm officially putting a -1 on this commit = as >> >> it's >>> >>> causing breakages in other components, =A0causes cast exceptions and ot= her >>> issues at runtime, etc.... >>> >>> In the future when Karaf can provide better solutions for this issue, w= e >> >> can >>> >>> can resolve this. =A0But 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 gnodet@apache.org wrote: >>>> >>>> Author: gnodet >>>> Date: Mon Nov 14 16:01:24 2011 >>>> New Revision: 1201768 >>>> >>>> URL: http://svn.apache.org/viewvc?rev=3D1201768&view=3Drev >>>> Log: >>>> [CAMEL-4671] The camel-core feature should not reference jaxb2 api / >>>> impl >>>> >>>> Modified: >>>> =A0 =A0 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/ma= in/ >>>> >>>> resources/features.xml?rev=3D1201768&r1=3D1201767&r2=3D1201768&view=3D= diff >>>> >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >>>> >>>> =3D=3D=3D --- >> >> camel/trunk/platforms/karaf/features/src/main/resources/features.xml >>>> >>>> (original) +++ >>>> camel/trunk/platforms/karaf/features/src/main/resources/features.xml M= on >>>> Nov 14 16:01:24 2011 @@ -25,13 +25,9 @@ >>>> =A0 =A0 >>>> =A0 =A0>>> start-level=3D'50'> =A0spring >>>> ->>> >> >> dependency=3D"true">mvn:org.apache.servicemix.specs/org.apache.servicemi= x.spe >>>> >>>> cs.activation-api-1.1/${servicemix-specs-version} =A0->>> >> >> dependency=3D"true">mvn:org.apache.servicemix.specs/org.apache.servicemi= x.spe >>>> >>>> cs.jaxb-api-2.2/${servicemix-specs-version} =A0->>> >> >> dependency=3D"true">mvn:org.apache.servicemix.specs/org.apache.servicemi= x.spe >>>> >>>> cs.stax-api-1.0/${servicemix-specs-version} =A0- >>>> >> >> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.= jax >>>> >>>> b-impl/${jaxb-bundle-version} >>>> mvn:org.apache.camel/camel-core/${pom.version} >>>> >> >> mvn:org.apache.camel.karaf/camel-karaf-commands/${pom.version}>>> >>>> dle> =A0- >>>> +=C2=A7 >>>> =A0 =A0>>> resolver=3D'(obr)' >>>> start-level=3D'50'> =A0>>> >> >> dependency=3D"true">mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/= ${ger >>>> >>>> onimo-jta-spec-version} =A0> >> version=3D"[3,4)">spring >>> >>> -- >>> Daniel Kulp >>> dkulp@apache.org - http://dankulp.com/blog >>> Talend Community Coder - http://coders.talend.com >>> >> > > -- > Jean-Baptiste Onofr=E9 > jbonofre@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com --=20 ------------------------ Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com