[SPR-10218] Spring 3.2.1 POM missing certain compile time dependencies Created: 25/Jan/13  Updated: 15/Jan/19  Resolved: 25/Jan/13

Status: Resolved
Project: Spring Framework
Component/s: [Build]
Affects Version/s: 3.2.1
Fix Version/s: 3.2.2

Type: Bug Priority: Major
Reporter: Phil Webb Assignee: Phil Webb
Resolution: Fixed Votes: 1
Labels: regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
is duplicated by SPR-10290 spring-webmvc 3.2.1 no longer has spr... Resolved
Days since last comment: 22 weeks, 1 day ago
Last commented by a User: true
Last updater: Spring Issuemaster


The generated POM files for Spring 3.2.1 have inadvertently changed several compile time dependencies to optional, namely:

-> spring-tx
-> spring-jdbc

-> spring-context
-> spring-web

-> spring-webmvc

The root cause of issue is:


This commit intended to change the scope only within the project being merged and not in the 'merge.into' destination.

Comment by Phil Webb [ 25/Jan/13 ]

To work around this bug you may need to temporarily add the following dependencies to your project POM file.

If you depend on spring-orm


If you depend on spring-webmvc


If you depend on spring-test


Any changes can be reverted when Spring version 3.2.2 is released which contains a fix for the issue.

For those interested, the root cause of this issue relates to the way that Spring merges modules together so that it can support conflicting dependencies. For example the spring-orm-hibernate4 module is merged into the spring-orm module so that we can support both hibernate versions 3 and 4. The scope on some of the dependencies on these merge modules was recently changed with the assumption that merge destination dependencies would take precedence. Unfortunately this was not the case.

Comment by Spring Issuemaster [ 14/Jan/19 ]

The Spring Framework has migrated to GitHub Issues. This issue corresponds to spring-projects/spring-framework#14851.

Generated at Wed Jun 19 02:51:10 UTC 2019 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.