[
https://issues.apache.org/jira/browse/WICKET-5028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13572522#comment-13572522
]
Thomas Götz commented on WICKET-5028:
-------------------------------------
FYI: https://jira.springsource.org/browse/SPR-9669, this is how Spring dealed
with it. Dunno if this is also doable with Wicket, I guess licensing questions
need to be clarified first.
> Update Spring dependency because of classpath conflicts with cglib
> ------------------------------------------------------------------
>
> Key: WICKET-5028
> URL: https://issues.apache.org/jira/browse/WICKET-5028
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-spring
> Affects Versions: 6.5.0
> Environment: wicket-ioc
> Reporter: Thomas Götz
> Attachments: update_spring_dependency.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira