James Mao wrote:
> entity resolver you mentioned may solve my problem, but i don't know how
> to add the entity resolver into the xjc maven plugin, do you know how or
> where's the doc?
I believe the plugin should have associated documents. If not, please
contact their authors.
> I think the catalog has the same problem, it'll not look into the
> classpath to resolve the schemaLocation, right?
The issue is really not so much as to whether something can "look into
the classpath". All the resources in a jar has an URL. So all you need
to do is to make sure XJC gets that URL.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com