Robert Eric Reeves wrote:
For some reason, the plugin is not picking up my XSD in src/xsd. It complains
that it can't find it in src/jaxme.
I have no idea why this might be so.
[INFO] At file:/C:/dev/foo-maven/foo/src/jaxme/foo.xsd, line 2
0: Unable to derive package name from an empty namespace URI. Use the schemaBind
ings to specify a package name.
That's another story. Typically, you need either of
a) the packageName property, or
b) the following in the schema file:
<xs:annotation><xs:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="my.package.name"/>
</jaxb:schemaBindings>
</xs:appinfo></xs:annotation>
(Do not forget to declare the jaxb prefix, like this:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
jaxb:version="1.0">
Jochen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]