restlet/restlet-framework-java — Issue #14: Broken OSGi Manifest file - depends on a private package
Author: laszlohordos
Created: 2012-03-04 10:16:15+00:00
State: open

The new manifest file which was modified https://github.com/restlet/restlet-framework-java/commit/661205eb8884c9e3fe3fe2cff4908cd6ef30e224#diff-3

makes the Jackson Extension unusable in OSGi environment because the jackson mapper bundle
exports only these packages:
org.codehaus.jackson.map
org.codehaus.jackson.map.annotate
org.codehaus.jackson.map.deser
org.codehaus.jackson.map.deser.impl
org.codehaus.jackson.map.deser.std
org.codehaus.jackson.map.exc
org.codehaus.jackson.map.introspect
org.codehaus.jackson.map.jsontype
org.codehaus.jackson.map.jsontype.impl
org.codehaus.jackson.map.module
org.codehaus.jackson.map.ser
org.codehaus.jackson.map.ser.impl
org.codehaus.jackson.map.ser.std
org.codehaus.jackson.map.type
org.codehaus.jackson.map.util
org.codehaus.jackson.node
org.codehaus.jackson.schema

and the manifest requires the org.codehaus.jackson.map.ext package.

As you can see here this is a private package http://svn.codehaus.org/jackson/trunk/ant/build-osgi.xml

Please also remove this header
Require-Bundle: org.codehaus.jackson

or correct it and require one of these http://mvnrepository.com/artifact/org.codehaus.jackson
for example:
Bundle-SymbolicName: jackson-mapper-asl
Bundle-SymbolicName: jackson-core-asl
or
Bundle-SymbolicName: jackson-mapper-lgpl
Bundle-SymbolicName: jackson-core-lgpl

I rather suggest just to remove it.

See the same issue at http://restlet.tigris.org/issues/show_bug.cgi?id=1380