[
https://issues.apache.org/jira/browse/POOL-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Thomas resolved POOL-261.
------------------------------
Resolution: Fixed
Fix Version/s: 2.3
Thanks for the report. A few tweaks to pom.xml fixed this.
> Make net.sf.cglib.proxy package import optional
> -----------------------------------------------
>
> Key: POOL-261
> URL: https://issues.apache.org/jira/browse/POOL-261
> Project: Commons Pool
> Issue Type: Bug
> Affects Versions: 2.2
> Environment: OSGi
> Reporter: Balazs Zsoldos
> Fix For: 2.3
>
>
> To use commons-pool2 inside an OSGi environment, we must drop cglib into the
> container as well although we do not need it.
> E.g.: commons-dbcp2 uses commons-pool in the way that cglib is never called.
> Please add resolution:=optional to the Import-Package section.
--
This message was sent by Atlassian JIRA
(v6.2#6252)