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 EB68BD647 for ; Tue, 14 May 2013 19:40:10 +0000 (UTC) Received: (qmail 702 invoked by uid 500); 14 May 2013 19:40:10 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 677 invoked by uid 500); 14 May 2013 19:40:10 -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 668 invoked by uid 99); 14 May 2013 19:40:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 19:40:10 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.mueller@gmail.com designates 209.85.220.44 as permitted sender) Received: from [209.85.220.44] (HELO mail-pa0-f44.google.com) (209.85.220.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 19:40:05 +0000 Received: by mail-pa0-f44.google.com with SMTP id jh10so807064pab.31 for ; Tue, 14 May 2013 12:39:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=c2Vsh//bjTjTS3GDK6S/b/R8mitmWSx6J/MeF7/tUhc=; b=NA/0fC6y4/MqTRlEaFRon2UC4xn7GTNgrtma/enjCQQ5u0Oui3zIuh5h1hWLlyBW5w heluCoqpVW/WwSC0NvDGCoICeDJ4PhsOpQq1ghkJjVFSCpDEiumaS+oLRo3KpNk+65po Wa7lQGqgvFWE9mUfaLIaDY34GR65mPtEqI+BgwfMKaBYPryjiEGvB4irCwJUQRfE9AV3 mqxER5bzUn9gQBYOO78BiUPypN59D0V4VbidTkrKCeEFcVLTfRUlWvgf6XSfAMWYLjp2 6bATNSDnLrPB3pI/lsPfzmXzNaiRy7qmJ4DiFsn2mCAaRtLHmCtSlU4+50bvBPMxlW/2 BbfA== MIME-Version: 1.0 X-Received: by 10.68.11.73 with SMTP id o9mr35706342pbb.18.1368560383632; Tue, 14 May 2013 12:39:43 -0700 (PDT) Received: by 10.70.68.97 with HTTP; Tue, 14 May 2013 12:39:43 -0700 (PDT) In-Reply-To: References: <1368538636829-5732494.post@n5.nabble.com> Date: Tue, 14 May 2013 21:39:43 +0200 Message-ID: Subject: Re: Upgrade Spring 3.1.4.RELEASE -> 3.2.2.RELEASE From: =?ISO-8859-1?Q?Christian_M=FCller?= To: "dev@camel.apache.org" Content-Type: multipart/alternative; boundary=bcaec521618b852d1504dcb2cbed X-Virus-Checked: Checked by ClamAV on apache.org --bcaec521618b852d1504dcb2cbed Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Ok, I could fix it. All Camel features now works with Spring 3.2 and 3.1 I had to update the Karaf version to 2.3.2-SNAPSHOT to be able to use the Spring 3.2 features provided by Karaf. Best, Christian On Tue, May 14, 2013 at 8:48 PM, Christian M=FCller < christian.mueller@gmail.com> wrote: > Thanks Babak for pointing this out! > > The difference is: > Spring 3.1: > mvn:org.springframework/core/3.1.x <- OSGI bundle > > Spring 3.2: > mvn:org.springframework/core/3.2.x <- normal JAR file > mvn:org.springframework/org.springframework.core/3.2.x <- OSGI bundle > > Bad... > > The Spring 3.2 OSGI bundles are only available in the Spring EBR at [1] > > Bad again... > > This makes it really complicated to provide a feature file for Spring 3.1 > and 3.2. I will work on this now. The first goal is to get it working wit= h > Spring 3.2. Afterwards I will check what we can do to support Spring 3.1 = as > well. > > [1] http://repository.springsource.com/maven/bundles/release > > Best, > Christian > > > On Tue, May 14, 2013 at 3:37 PM, Babak Vahdat > wrote: > >> Hi >> >> Just wonder if the current Karaf 2.3.x SVN code base really supports >> Spring >> 3.2.x as it's no longer OSGi complaint. This is also why currently our >> Karaf >> features validation on trunk is failing: >> >> ~/dev/workspace/camel/platforms>mvn clean install -Pvalidate >> =85 >> ... >> [ERROR] Failed to execute goal >> org.apache.karaf.tooling:features-maven-plugin:2.3.1:validate (validate) >> on >> project apache-camel: Unable to validate >> >> /Users/bvahdat/dev/workspace/camel/platforms/karaf/features/target/class= es/features.xml: >> mvn:org.springframework/spring-context/3.2.2.RELEASE is not an OSGi bund= le >> -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e >> switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please >> read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn -rf :apache-camel >> >> I assume if we would properly switch our Maven build to SpringSource EBR >> then the problem should be fixed, for more details see: >> >> http://www.springsource.org/springframework-ebr >> >> I also checked the the Karaf 2.3.x branch code base and couldn't find an= y >> usage of SpringSource EBR but maybe I missed something. >> >> Babak >> >> Christian Mueller wrote >> > JB added the Spring 3.2 support to Karaf 2.3.x today [1]. >> > I will go ahead and make Spring 3.2 as the default and set up a Spring >> 3.1 >> > CI build as well. >> > >> > [1] http://svn.apache.org/viewvc?view=3Drevision&revision=3D1481748 >> > >> > Best, >> > Christian >> > >> > >> > On Mon, May 13, 2013 at 6:44 PM, Claus Ibsen < >> >> > claus.ibsen@ >> >> > > wrote: >> > >> >> Hi >> >> >> >> Yeah I think it would be good to upgrade to Spring 3.2.x for Camel >> 2.12. >> >> Certainly if Karaf / SMX will support that version as well. >> >> >> >> On Sun, May 12, 2013 at 11:45 PM, Christian M=FCller >> >> < >> >> > christian.mueller@ >> >> > > wrote: >> >> > I'm wondering whether we should use Spring 3.2.2.RELEASE by default >> for >> >> > Camel 2.12.x. >> >> > This version is stable and by still supporting Spring 3.1.x (with a >> >> > separate CI build), we can make sure Camel 2.12.x is working with >> Karaf >> >> > 2.3.1. >> >> > Starting with Karaf 2.3.2, Karaf comes with a Spring 3.2 feature [1= ]. >> >> Karaf >> >> > 2.3.2 is expected for the next two/three weeks [2]. >> >> > >> >> > What do you think? >> >> > >> >> > [1] https://issues.apache.org/jira/browse/KARAF-2062 >> >> > [2] >> >> > >> >> >> http://karaf.922171.n3.nabble.com/DISCUSSION-Apache-Karaf-2-3-2-and-3-0-= 0-RC2-in-two-weeks-time-td4028632.html >> >> > >> >> > Best, >> >> > Christian >> >> >> >> >> >> >> >> -- >> >> Claus Ibsen >> >> ----------------- >> >> www.camelone.org: The open source integration conference. >> >> >> >> Red Hat, Inc. >> >> FuseSource is now part of Red Hat >> >> Email: >> >> > cibsen@ >> >> >> Web: http://fusesource.com >> >> Twitter: davsclaus >> >> Blog: http://davsclaus.com >> >> Author of Camel in Action: http://www.manning.com/ibsen >> >> >> >> >> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/Upgrade-Spring-3-1-4-RELEASE-3-2-2-REL= EASE-tp5732377p5732494.html >> Sent from the Camel Development mailing list archive at Nabble.com. >> > > --bcaec521618b852d1504dcb2cbed--