+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 <feature name='camel-spring' version='2.8-SNAPSHOT' resolver='(obr)'> <bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle> <feature version="[3,4)">spring</feature> <feature version="[1.2,2)">spring-dm</feature> <bundle dependency="true">mvn:org.springframework/spring-tx/3.0.5.RELEASE</bundle> <feature version='2.8-SNAPSHOT'>camel-core</feature> <bundle>mvn:org.apache.camel/camel-spring/2.8-SNAPSHOT</bundle> </feature> 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?