jaxb2-maven-plugin: catalog + binding file issue
I am using jaxb2-maven-plugin to generate java source from Xml schema. I have my configuration setup with both catalog and binding (xjb) files. The XS imports are not resolved correctly when I use both the catalog file and the binding xjb files. But, the XS imports work fine when I remove the binding (xjb files).
catalog + binding (xjb) file - Error resolving the XS imports through the catalog
only catalog - Imports are resolved as expected.
Is there a way to overcome this issue?
Thanks in advance.