Announcement Announcement Module
Collapse
No announcement yet.
Dependency on Spring Framework 3.2.* Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dependency on Spring Framework 3.2.*

    Hello!

    I'd like to switch my project to 3.2 but the latest spring-integration depends on 3.1.3. I'm afraid mixing 3.2 and 3.1 libraries or force use 3.2 for integration.

    Are you going to switch spring-integration to spring-framework 3.2?

    Regards,
    -- Alexey

  • #2
    Hi, Alexey!

    I use in my projects:
    Code:
    configurations.all {
    	transitive = false
    }
    
    springVersion = '3.2.3.RELEASE'
    springIntegrationVersion = '3.0.0.M2'
    springSecurityVersion = '3.1.3.RELEASE'
    springWebServicesVersion = '2.1.3.RELEASE'
    jacksonVersion = '2.2.1'
    groovyVersion='2.1.5'
    guavaVersion='14.0.1'
    servletVersion='3.0.1'
    And everything works OK. So, there is no versions mixing.
    Are you going to switch spring-integration to spring-framework 3.2?
    No, we aren't going to do that, because Spring Framework 3.1.x is still in support.
    We'll do it, but somewhere in Spring Integration 4.0, when there will be Spring Framework 4.1

    May be Mark and Gary have another wisdoms.
    Anyway there is simple standard trick to force to work SI with SPR-3.2: do not include transitive dependencies

    HTH,
    Artem

    Comment


    • #3
      Thanks! I'm going to add dependency management for my project, that will fix all versions of SI and SPR.
      But! When I've switched my spring.version property from 3.1.3 to 3.2.3 I've got some compilation errors. Those errors were caused by some class regrouping in spring framework modules. I'm afraid of getting some runtime errors in SI..

      Comment


      • #4
        I'm afraid of getting some runtime errors in SI
        No, there is no issues. We have CI build plan for SI-3.0 + SPR-3.2 to be sure in it: https://build.springsource.org/brows...22SPRING32-302

        Comment

        Working...
        X