Hello community,

I found a serious incompatibility between maven-scr-plugin (used to generate
service descriptors for Declarative Services) and QDox, which is used for
JAXB (Java XML Bindings).
Thus, I am stuck using OSGi and JAXB together.

The issue is that QDox has trouble reading the "package-info.java" files
generated by the JAXB Schema-to-POJO compiler (xjc).
QDox doesn't like the annotations on the package directive, as in:


@javax.xml.bind.annotation.XmlSchema(namespace = "
http://schemas.acme.com/product/coyote/1.0";)
package com.acme.coyote;


This problem is known on QDox's JIRA:
http://jira.codehaus.org/browse/QDOX-98
However it seems to be *very* dusty for some time now. Unfortunately, nobody
is really concerned with it.

I'm working on this issue and I'll post a follow-up if I get anything
working.

If anyone has experience using OSGi + JAXB please give us some thoughts on
how this QDox issue was avoided or solved.

Thank you for your attention,
Rodrigo Madera

Reply via email to