Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
6.5.0
-
None
-
wicket-ioc
Description
Scenario:
I'm using Groovy (2.1.0) in my Wicket application which has a dependeny to asm 4.0. Wicket itself depends on cglib 2.2.2 which brings asm 3.3.1.
-> multiple versions of asm on the classpath -> not amused
So, I learned that Spring inlines cglib (3.0) and asm (4.0) since Spring 3.2. Would it be possible that Wicket - i.e. wicket-spring and/or wicket-ioc - depends on Spring 3.2.x, so that the dependeny to cglib can be dropped?
I'm attaching a patch to demonstrate what this could mean. Only drawback I discovered so far: wicket-ioc whould then depend on spring-core, currently there's no dependeny on Spring in wicket-ioc.
As an alternative we could also inline the required cglib/asm libs - as Spring also does - to avoid classpath conflicts with different version.