[SPR-10218] Spring 3.2.1 POM missing certain compile time dependencies Created: 25/Jan/13 Updated: 13/Feb/13 Resolved: 25/Jan/13
|Reporter:||Phil Webb||Assignee:||Phil Webb|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Days since last comment:||5 years, 4 weeks, 6 days ago|
|Last commented by a User:||false|
The generated POM files for Spring 3.2.1 have inadvertently changed several compile time dependencies to optional, namely:
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.