[
https://issues.apache.org/jira/browse/CXF-2071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-2071.
------------------------------
Resolution: Fixed
Fix Version/s: 2.1.5
I've added the dynamic import.
However, there doesn't seem to be a way to add an import for
com.sun.xml.bind.v2 since we don't actually use it anywhere at all. We already
have:
com.sun*;resolution:=optional
for all the sun stuff and the felix plugin doesn't find that package since we
don't actually reference it at all. Thus, the smx bundle will probably need
to be used.
> 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
> Assignee: Daniel Kulp
> Fix For: 2.1.5
>
>
> 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.