Hi,
Please feel free to create a JIRA in Camel, so we can keep trace with
it. There are some known issue[1] about using dozer in osgi, hope we can
address it in the next version of dozer.
[1]https://issues.apache.org/jira/browse/CAMEL-3228
Willem
On 12/23/10 3:26 AM, karafman wrote:
Gents,
Using Camel 2.5.0, I've noticed a problem with the
mvn:net.sf.dozer/dozer-osgi/5.3.0, it currently imports all of its exported
bundles. Normally, this wouldn't be a problem, but it imports org.dozer,
causing the following error:
Error executing command: Could not start bundle
mvn:net.sf.dozer/dozer-osgi/5.3.0 in feature(s) : Unresolved constraint in
bundle net.sf.dozer.dozer-osgi [56]: Unable to resolve 56.0: missing
requirement [56.0] package; (package=org.dozer) - [56] package;
(package=org.dozer).
Using bnd, I was able to re-wrap this package so that it deploys and works
using a dozer.bnd file containing the following:
Export-Package: *;-noimport:=true
Bundle-Version: 5.3.0-osgi
Bundle-SymbolicName: dozer
This is probably not be the ideal fix, but this issue should be noted. If
you'd like me to create a ticket in your Jira to address this, I'll be happy
to do so.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang