I am trying to compile a fairly complex set of XMl Schemas using JAXB RI and the maven-jaxb-plugin. This plugin does not provide a simple way to map schema directories to java packages (only maps on a per schema file basis). So I need to run the plugin for each directory in my schema tree and specific a corresponding java package in the plugin configuratio.

In ant days I could have simply create an ant macro with one parameter (the java package name) and then simply invoked the macro as many times as
needed. I am looking for something similar. TIA.

Wayne Fay wrote:
Tell us more about what you're trying to do, what plugin(s) you're
using, and why you're doing this. There may be a smarter, more
Maven-ish way to do it.

Wayne

On 11/3/07, Farrukh Najmi <[EMAIL PROTECTED]> wrote:
I have a situation where I need many instances of the same plugin within
my pom. Each instance would typically require quite a long configuration.
However, all such plugin instances are basically very similar with a few
minor differences. Is it somehow possible to minimize the content of the
pom by
using some sort of macro ability to instantiate the same plugin
description multiple times with the few variables specified as parameters?

TIA.

--
Regards,
Farrukh


--
Regards,
Farrukh

Web: http://www.wellfleetsoftware.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to