Hi,
> thank you for your reply.
> With pointing <schemaInclude> to virtual schema (mapped to classpath in
> catalog file) it doesnt work.
> I just get the message: Skipped XJC execution. Nothing to compile.
> For now I solved it by creating a wrapper schema which has only import of
> desired schema (virtual name, mapped in catalog), in such case it works.
> Thank you for bringing more light into this problem. Anyway, it will be
> great when the plugin directly supports this.
Yes, this is planned already. Vote for the issue. :)
http://java.net/jira/browse/MAVEN_JAXB2_PLUGIN-35
Bye,
/lexi