I have a CommonTypes.xsd which I\'m including in my all other XSDs using xs:include. I get
Multiple are defined for the target namesp
Can be done as mentioned in jaxb maven plugin usage page in case of having Multiple schemas with different configuration.
Separate packages can be configured for each schema.
se.west
complete example configuration below:
org.codehaus.mojo
jaxb2-maven-plugin
${project.version}
xjc-schema1
xjc
src/main/xsds/west
se.west
xjc-schema2
xjc
src/main/xsds/east
se.east
false