GitHub user manuelh9r opened a pull request:
https://github.com/apache/camel/pull/520
CAMEL-8647: Fix duplicated import-package statement for org.osgi.framâ¦
It seems that in change f058e02b00 the wildcard expression
org.osgi.framework*;version="[1.5,2)", was removed and replaced by
org.osgi.framework;version="[1.5,2)".
In camel-cxf the bundle plugin will create two import-package statements
since it defines a org.osgi.framework;resolution:=optional in the
camel.osgi.import property. Without the wildcard this leads to two
import-package statements which prevents installing the camel-cxf bundle in an
osgi container.
It seems that in ced83fe5b86 we resolved the same issue in camel-spring by
removing the import statement in the camel.osgi.import property. We could do
the same for camel-cxf.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/manuelh9r/camel master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/520.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #520
----
commit 6ba4ac6ad5273668ca893f3be5464cf2ffdd455b
Author: Manuel Holzleitner <[email protected]>
Date: 2015-05-18T14:36:07Z
CAMEL-8647: Fix duplicated import-package statement for org.osgi.framework
in camel-cxf manifest
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---