users@jaxb.java.net

maven2 xjc plugin

From: Brian Keyser <Brian.Keyser_at_groupsystems.com>
Date: Wed, 6 Sep 2006 20:55:17 -0700

Hi,

 

How are the <includeschema> and <includebinding> elements in the
configuration translated to xjc options?

 

<configuration>

            <includeSchemas>

                        <includeSchema>**/*.xsd</includeSchema>

            </includeSchemas>

            <includeBindings>

                        <includeBinding>**/*.xjb</includeBinding>

            </includeBindings>

</configuration>

 

I am able to use xjc with the options of "*.xsd -b a.xjb -b b.xjb"
successfully. However, I get an error similar to

 

[ERROR] [ERROR] "file:/C:/.../a.xsd" is not a part of this compilation.
Is this a mistake for "file:/C:/.../b.xjb"?

 

I am not sure that the <includebinding> options are being referred to
with an individual '-b' option and argument. Perhaps my understanding
of the configuration is incorrect?

 

Thanks,

Brian