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 4DE8160C7 for ; Sat, 18 Jun 2011 09:45:48 +0000 (UTC) Received: (qmail 74551 invoked by uid 500); 18 Jun 2011 09:45:48 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 74522 invoked by uid 500); 18 Jun 2011 09:45:48 -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 74514 invoked by uid 99); 18 Jun 2011 09:45:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jun 2011 09:45:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of richardkettelerij@gmail.com designates 209.85.161.45 as permitted sender) Received: from [209.85.161.45] (HELO mail-fx0-f45.google.com) (209.85.161.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jun 2011 09:45:43 +0000 Received: by fxm2 with SMTP id 2so2715650fxm.32 for ; Sat, 18 Jun 2011 02:45:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=r0I7bEwmDUCLtt45guLojK3qZtcl+/zTFdMFVSeiX+A=; b=RRVUXiWFhQnfHmquBYFyYRewdcky1CVQbyGD3m12HF3RBeZXjUQRxo/+KVHxuSCGGx T5ujnwJWGaLRGtT9g4WOY+VnlKbBMjV1OEThYFP3nintjFokSSUh6noMx8JCZ8KMAfXJ jEBuwqOkw5D+ab7nVJY426o9qQuO+gSgBURnM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=M7ezz4ZDnADzqajdRgFLIbZxqTQu6U1ePMwKW7jnj4MKC/nveuvm/YD+AhMQMF0T4X YssIpLJNWzZt03ipIw0jp15KR8pEjOivUAkA15KR+wufxm/nIPmrso59euGwmospXpQn lCVZM0aApaOI6RLehykcmuBotrMcxnIsecXIs= Received: by 10.223.92.154 with SMTP id r26mr3593958fam.35.1308390321196; Sat, 18 Jun 2011 02:45:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.107.79 with HTTP; Sat, 18 Jun 2011 02:45:01 -0700 (PDT) In-Reply-To: References: <4DFC6F58.5070606@nanthrax.net> From: Richard Kettelerij Date: Sat, 18 Jun 2011 11:45:01 +0200 Message-ID: Subject: Re: [DISCUSS] - Include spring-expression.jar by default in camel-spring To: dev@camel.apache.org Content-Type: multipart/alternative; boundary=00151747ba9652904104a5f95cf9 --00151747ba9652904104a5f95cf9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Btw, this overview is also really handy: https://analysis.apache.org/plugins/resource/37401?page=3Dorg.sonar.plugins= .design.ui.libraries.LibrariesPage On Sat, Jun 18, 2011 at 11:43 AM, Richard Kettelerij < richardkettelerij@gmail.com> wrote: > I guess this only concerned OSGi users? Since i've noticed that camel-cor= e > already has a transitive dependency on spring-expression: > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Camel :: Core 2.8-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ camel-core --= - > [INFO] org.apache.camel:camel-core:bundle:2.8-SNAPSHOT > [INFO] +- org.slf4j:slf4j-api:jar:1.6.1:compile > [INFO] +- org.fusesource.commonman:commons-management:jar:1.0:compile > [INFO] +- org.springframework:spring-context:jar:3.0.5.RELEASE:compile > [INFO] | +- > org.springframework:spring-expression:jar:3.0.5.RELEASE:compile > [INFO] | \- org.springframework:spring-asm:jar:3.0.5.RELEASE:compile > [INFO] +- org.osgi:org.osgi.core:jar:4.1.0:provided > [INFO] +- junit:junit:jar:4.8.1:test > [INFO] +- org.slf4j:slf4j-log4j12:jar:1.6.1:test > [INFO] +- log4j:log4j:jar:1.2.16:test > [INFO] \- org.springframework:spring-aop:jar:3.0.5.RELEASE:test (scope no= t > updated to compile) > [INFO] +- aopalliance:aopalliance:jar:1.0:test > [INFO] +- org.springframework:spring-beans:jar:3.0.5.RELEASE:test > [INFO] \- org.springframework:spring-core:jar:3.0.5.RELEASE:test > [INFO] \- commons-logging:commons-logging:jar:1.1.1:test > > Nevertheless +1 for including this explicitly. > > On Sat, Jun 18, 2011 at 11:26 AM, Jean-Baptiste Onofr=E9 wrote: > >> +1 >> >> it makes sense >> >> Regards >> JB >> >> >> On 06/18/2011 11:15 AM, Claus Ibsen wrote: >> >>> Hi >>> >>> I think we should include the spring-expression.jar in the >>> camel-spring component. Its for the Spring Expression Language >>> supported, which we provide out of the box now. >>> >>> We may need to either have that added as well in the Karaf spring >>> feature, or add it to the camel-spring feature in the Camel kit >>> Like we do for spring-tx >>> >>> >>> >>> mvn:org.**apache.geronimo.specs/** >>> geronimo-jta_1.1_spec/1.1.1 >>> spring >>> spring-dm >>> mvn:org.**springframework/spring-tx/3.0= .** >>> 5.RELEASE >>> camel-**core >>> mvn:org.apache.camel/**camel-spring/2.8-SNAPSHOT >>> >>> >>> I noticed in the camel-spring-security component, that you out of the >>> box would end up picking older releases of spring-expression as >>> spring-security uses 3.0.3 >>> [INFO] ------------------------------**------------------------------** >>> ------------ >>> [INFO] Building Camel :: Spring Security 2.8-SNAPSHOT >>> [INFO] ------------------------------**------------------------------** >>> ------------ >>> [INFO] >>> [INFO] --- maven-dependency-plugin:2.1:**tree (default-cli) @ >>> camel-spring-security --- >>> [INFO] org.apache.camel:camel-spring-**security:bundle:2.8-SNAPSHOT >>> [INFO] +- org.apache.camel:camel-core:**jar:2.8-SNAPSHOT:compile >>> [INFO] | +- org.slf4j:slf4j-api:jar:1.6.1:**compile >>> [INFO] | \- org.fusesource.commonman:**commons-management:jar:1.0:** >>> compile >>> [INFO] +- org.apache.camel:camel-spring:**jar:2.8-SNAPSHOT:compile >>> [INFO] | +- org.springframework:spring-**context:jar:3.0.5.RELEASE:** >>> compile >>> [INFO] | | +- org.springframework:spring-**beans:jar:3.0.5.RELEASE:** >>> compile >>> [INFO] | | +- org.springframework:spring-** >>> core:jar:3.0.5.RELEASE:compile >>> [INFO] | | | \- commons-logging:commons-**logging:jar:1.1.1:compile >>> [INFO] | | \- org.springframework:spring-** >>> asm:jar:3.0.5.RELEASE:compile >>> [INFO] | +- org.springframework:spring-**aop:jar:3.0.5.RELEASE:compile >>> [INFO] | | \- aopalliance:aopalliance:jar:1.**0:compile >>> [INFO] | \- org.springframework:spring-tx:**jar:3.0.5.RELEASE:compile >>> [INFO] +- org.springframework.security:**spring-security-core:jar:3.0.*= * >>> 5.RELEASE:compile >>> [INFO] | +- org.springframework:spring-**expression:jar:3.0.3.RELEASE:= * >>> *compile >>> [INFO] | +- org.aspectj:aspectjrt:jar:1.6.**8:compile >>> [INFO] | \- org.aspectj:aspectjweaver:jar:**1.6.8:compile >>> [INFO] +- org.springframework.security:**spring-security-config:jar:3.*= * >>> 0.5.RELEASE:compile >>> [INFO] +- org.apache.camel:camel-test:**jar:2.8-SNAPSHOT:test >>> [INFO] +- junit:junit:jar:4.8.1:test >>> [INFO] +- org.slf4j:slf4j-log4j12:jar:1.**6.1:test >>> [INFO] \- log4j:log4j:jar:1.2.16:test >>> >>> >>> So by including spring-expression in camel-spring we ought to help >>> align the spring version used out of the box. >>> >>> Any problems with this, I wonder? >>> >>> >>> >>> > --00151747ba9652904104a5f95cf9--