users@jaxb.java.net

Re: maven-jaxb1-plugin - run xjc for test sources

From: Kostis Anagnostopoulos <ankostis_at_gmail.com>
Date: Tue, 28 Nov 2006 11:49:48 +0200

Hi Gregory,

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.

That seems like an obvious feature.
It requires modifying org.jvnet.jaxb1.maven2:maven-jaxb1-plugin.

----
(To Aleksei): Should I attempt to implement it?
* I want also  to include a logCalcSettings(StringBuffer sb) method
into hj2-plugin
to print-out the resources included.
* Do you have anything to update on maven-hj2-plugin or maven-jaxb1-plugin ?
* For the jaxb1 plugin, the version would become 1.0-rc8.
* What should be the hj2-plugin's version ?
** 0.6.1? Then we should increase parent's version to 0.6.1.
** Any suggestion?
Regards,
  Kostis