Missing import on 'com.sun.xml.bind.api' for cxf-bundle
-------------------------------------------------------
Key: CXF-2071
URL: https://issues.apache.org/jira/browse/CXF-2071
Project: CXF
Issue Type: Bug
Components: OSGi
Affects Versions: 2.1.4
Environment: OW2 JOnAS 5.1.0.M4-SNAPSHOT (Apache Felix 1.4.1)
Reporter: Guillaume Sauthier
As you can see in the JAXBUtils[1] class CXF is loading a class from the
'com.sun.xml.bind.api' package.
But this import is missing from the Bnd generated manifest.
It would be great to add this package in the DynamicImport-Package list (just
like what was done for the woodstox package).
BTW, if you use the 2.1.4 version of CXF, it's also missing an import on
'com.sun.xml.bind.v2' (Where the RI JAXBContext implementation lives). The only
way to be able to use it untouched is to install the JAXB 2.0/2.1 API provided
by ServiceMix (that is more OSGi friendly). This is what we have done so we can
live with this, so this missing package ('com.sun.xml.bind.v2') is not a
blocker for us.
[1]
http://fisheye6.atlassian.com/browse/cxf/tags/cxf-2.1.4/common/common/src/main/java/org/apache/cxf/jaxb/JAXBUtils.java?r=708410#l541
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.