[
https://issues.apache.org/jira/browse/OPENJPA-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253409#comment-13253409
]
Romain Manni-Bucau commented on OPENJPA-2171:
---------------------------------------------
the issue is mainly tomee uses it in common classloader of tomcat and any user
can need to provide a different version of asm (for a spring webapp for
instance). as this issue is common Geronimo shaded asm.
the goal of this issue is to simply the dependency of openjpa on objectweb asm
library.
if a user depends on asm it will need to bring asm.
Maybe i was not clear but the idea is simply to replace a dependency by another
one for openjpa so the classical dependencies mecanisms are not broken.
> asm should be optional
> ----------------------
>
> Key: OPENJPA-2171
> URL: https://issues.apache.org/jira/browse/OPENJPA-2171
> Project: OpenJPA
> Issue Type: Improvement
> Reporter: Romain Manni-Bucau
>
> openjpa uses since some versions asm but in tomee for instance we use a shade
> (through the xbean one org.apache.xbean:xbean-asm-shaded to avoid
> classloading/version issues with webapps/applications.
> it can be nice if openjpa can provide us an issue to this because we really
> don't want to provide asm in our binaries.
> solutions can be to use the xbean shade, give us an interface to implement or
> to try several implementation (xbean shade, asm,...) by reflection
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira