users@jaxb.java.net

schemaExcluds

From: Lulseged Zerfu <lulseged.zerfu_at_ericsson.com>
Date: Tue, 11 Nov 2008 15:15:14 +0100

Hi
 
 I don't know if I have to post this here. If it is not the right place
to post, please let me know.
 
 I am using maven-jaxb-plugin. It works fine but the schemaExcludes
configuration has no effect.
 
Here is how it looks like:
<schemaLanguage>AUTODETECT</schemaLanguage>
<bindingDirectory>src/main/resources/schema</bindingDirectory>
<bindingIncludes>
    <include>*.xjb</include>
</bindingIncludes>

<schemaDirectory>src/main/resources/schema</schemaDirectory>
<schemaIncludes>
    <include>*.xsd</include>
</schemaIncludes>

<schemaExcludes>
    <exclude>urn.ietf.params.xml.ns.common-policy.xsd</exclude>
    <exclude>urn.ietf.params.xml.ns.pres-rules.xsd</exclude>
</schemaExcludes>

 The schemas that are supposed to be excluded (in this case 2) are
generated anyway.

Why?

Lulseged