Hi again,
On 11/28/06, Gregory Kick <gk5885_at_gmail.com> wrote:
> Is there support for using the maven-jaxb1-plugin to generate test
> sources instead of normal ones (i.e. have them compile to test-classes
> instead of classes)? I can certainly attach it to the
> generate-test-sources phase, but I don't want it all in the final jar.
> If there isn't, a boolean parameter seems like it would work.
I think, Gregory, you could make a separate module to produce the
testing jaxb bindings, and then add this artifact with
'scope'='testing'.
Is there something wrong with the approach i'm suggesting?
You see, i cannot remember a maven plugin with the requested behavior
and i'm suspecting that this is for a reason. It maybe that, since you
attach to test-classes, all kinds of new functionality is required,
so...
Regards,
Kostis