I think that 5.3.x unit tests are backward compatible so will not be broken.
On 28/04/2023 12:51, Ephemeris Lappis wrote:
Hello again. François, I agree : the range [5,6) should allow Camel to use the 5.x version that is available. But as the current Karaf repository comes with 5.3.23, Camel routes in unit tests and at runtime do not use the same Spring versions. So, can we just ignore it, or do we have to adapt our projects to be sure that something that passes successfully unit tests in 5.3.27 will not be broken at runtime with 5.3.23 ??? Thanks. Regards. Le ven. 28 avr. 2023 à 10:12, Francois Papon <[email protected]> a écrit :Hi, The Camel features are using a range for the Spring version: <feature name='camel-spring' version='3.20.4' start-level='50'> <bundle dependency='true'>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle> <feature version='[5,6)'>spring</feature> <feature version='[5,6)'>spring-tx</feature> <feature version='3.20.4'>camel-core</feature> <bundle>mvn:org.apache.camel/camel-core-xml/3.20.4</bundle> <bundle>mvn:org.apache.camel/camel-spring/3.20.4</bundle> <bundle>mvn:org.apache.camel/camel-spring-xml/3.20.4</bundle> </feature> So it will take the higher version of Spring available in Karaf. Regards, François On 27/04/2023 19:37, Ephemeris Lappis wrote:Hello. We're upgrading Camel to 3.20.4. This version of Camel seems to depend on Spring 5.3.27. As the application should run on Karaf 4.4.3 that provides spring components with version 5.3.23. Should we either force our project dependencies to use Spring 5.3.23, or try to upgrade the Karaf repository to use Spring 5.3.27 ? Thanks for your help. Regards.
