Announcement Announcement Module
Collapse
No announcement yet.
Strategy when migrating to Spring 3.2.0 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Strategy when migrating to Spring 3.2.0

    Hi,

    we have been using a combination of Spring 3.0.4.RELEASE and Spring Batch 2.0.3 so far.

    Now we are trying to upgrade to Spring 3.2.0.RELEASE. It seems to us that there is no release version of Spring Batch that can be combined with that version of Spring.

    We are in an OSGi context and observe the following dependency chain:
    spring batch infrastructure
    ->Import-Package: org.springframework.oxm;version="[1.5.5,2.0.0)" (is satisfied in our case by spring oxm 1.5.8.A)
    spring oxm
    ->Import-Package: org.springframework.xml;version="[1.5.8.A,1.5.8.A]" (is satisfied in our case by spring xml 1.5.8.A)
    spring xml
    ->Import-Package: org.springframework.beans;version="[2.0.0, 3.1.0)"

    As you can see the transitive dependencies seem to prohibit using Spring 3.2. I am aware of https://jira.springsource.org/browse/BATCH-1938 which shows that there has already been general action towards integratibility of Spring 3.2.0.RELEASE for Spring Batch.

    Is there a recommended way for tackling this issue as long as Spring Batch 2.2 has not been released? Is there already a planned release date for Spring Batch 2.2?

    Any help appreciated!

    Best regards,
    Jens

  • #2
    Sorry for spamming this forum!

    I missed trying version 1.5.9.A of Spring OXM and Spring XML. Both are a lot more tolerant regarding the version of core Spring packages they include (version="[2.0.0,4.0.0)". So using version 1.5.9.A instead of 1.5.8.A solved this particular problem.

    Cheers
    Jens

    Comment

    Working...
    X