users@jaxb.java.net

Re: Maven2 plugin

From: Kostis Anagnostopoulos <ankostis_at_gmail.com>
Date: Thu, 31 May 2007 05:42:19 +0300

On 5/30/07, William Simons <William.Simons_at_childrens.harvard.edu> wrote:
>
> Thanks Lexi,
>
> I tried that plugin out and ran into a small problem. I was unable to
> configure it to exclude certain schemas from my build using the
> schemasExcludes configuration property. I couldn't figure out how that
> element needed to be formed. In the other plugin, it is called
> excludeSchemas and contains a list of excludeSchema elements.
> Unfortunately, the same strategy did not work for the maven-jaxb2-plugin.

The respective mojo param to 'excludeSchemas' is renamed into 'schemasExcludes'.
See:
https://maven-jaxb2-plugin.dev.java.net/nonav/maven-jaxb2-plugin-project/maven-jaxb2-plugin/generate-mojo.html
for a description of all the available mojo parameters.

Regards.
  Kostis