I'm using the jaxb2-maven-plugin to create classes from an xsd - works
as expected.  However, within my code, I have to use a Marshaller object
to do some validation against the schema which I'm "nv-ing" to ignore a
maxOccurs bug.  After some research, I found that I can use the latest
version of Xerces (2.11.0 <http://xerces.apache.org/mirrors.cgi#binary>
).  However, if I create a dependency on that, I break the plugin -
[ERROR] Failed to execute goal
org.codehaus.mojo:jaxb2-maven-plugin:1.3:xjc (default-cli) on project
nytd-model: Execution default-cli of goal
org.codehaus.mojo:jaxb2-maven-plugin:1.3:xjc failed: A required class
was missing while executing
org.codehaus.mojo:jaxb2-maven-plugin:1.3:xjc:
org/w3c/dom/ElementTraversal 

 

So, I'm not sure what next.  Is this a bug for Codehaus, or something I
can change in my setup?

 

Thanks,

Oblio

Reply via email to