[
https://issues.apache.org/activemq/browse/SMX4-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57841#action_57841
]
Jean-Baptiste Onofré commented on SMX4-491:
-------------------------------------------
The ServiceMix commons-pool bundles are now available.
I'm going to use it in ServiceMix features/assembly.
> Wrap commons-pool 1.4 and 1.5.4 in servicemix bundles
> -----------------------------------------------------
>
> Key: SMX4-491
> URL: https://issues.apache.org/activemq/browse/SMX4-491
> Project: ServiceMix 4
> Issue Type: Bug
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
>
> Camel 2.2.0 needs commons-pool 1.5.4.
> ActiveMQ pool needs commons-pool 1.4.
> So in ServiceMix 4, we deploy both commons-pool 1.5.4 and 1.4 bundles.
> Unfortunately, commons-pool 1.4 is not a "correct" bundle as it contains:
> Export-Package = org.apache.commons.pool;version=1.4,
> org.apache.commons.pool.impl;version=1.4
> Import-Package = org.apache.commons.pool;version=1.4,
> org.apache.commons.pool.impl;version=1.4
> So what happens in this case is that commons-pool 1.4 will not export its
> package but import the 1.5.4 one.
> The problem is exactly the same with commons-pool 1.5.4.
> The workaround is to create a new ServiceMix commons-pool package which wrap
> commons-pool and define correct Export-Package and Import-Package statements.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.