I have an A.xsd that import a Common.xsd (name space eg. "http://common.pack"), then I would to exclude the contribution (jsut jpa annotations) of Common.xsd to pack.common package but I need other xsd that have same namespace can stil contriute to pack.common package .
I am using this excerpt from my bindinds.xml :
<jaxb:bindings schemaLocation="CSG_Schemas\MultiMissionProtocol\MultiMissionCommon.xsd" node="/xs:schema" >
<jaxb:schemaBindings >
<jaxb:package name="pack.com package"/>
</jaxb:schemaBindings>
<hj:ignored-package name="pack.com package"/>
</jaxb:bindings>
but when run maven , it seems xjc delete the pack.common completely ,instead I want to block only entities coming from common.xsd
when I am wrong ?