users@jaxb.java.net

Re: Maven 2 Jaxb2 plugin use

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 10 Apr 2006 18:24:18 -0700

Jonathan Johnson wrote:
> Kohsuke,
>
> Lets post the latest Maven 2 Jaxb2 plugin on jaxb/www.

Yes. I think you have enough permission to do this. Can you post that in
jaxb/www/jaxb-maven2-plugin?

My apologies for keep dropping the ball on the maven repository.

> Also - for dependency checking should I use
>
> XJC2Task.addConfiguredDepends(dependencies);
> XJC2Task.addConfiguredProduces(products);
>
> Or do this in the plugin instead. I haven't been able to get
> Depends/Produces to work yet.
>
> - Jonathan
>
> -----Original Message-----
> From: Jonathan Johnson [mailto:jonjohnson_at_mail.com]
> Sent: Friday, March 31, 2006 10:26 PM
> To: users_at_jaxb.dev.java.net
> Subject: RE: Maven 2 Jaxb2 plugin use
>
>> We can always put a jar in jaxb/www to make it available for people to
>> download manually. Should I do that now, while I work on the maven
>> java.net repository?
>
> Yes - that's helpful, but you may want to wait until I check in the changes
> for the verbose output and the dependency calculation
>
> Should I be using the following XJC2Task method to ensure it will determine
> if the generation is necessary?
>
> XJC2Task.addConfiguredDepends(dependencies);
> XJC2Task.addConfiguredProduces(products);
>
> I was thinking of just adding all the schemas and binding files to the
> addConfiguredDepends
> and adding the *.java in the generated package directory to
> addConfiguredProduces
>
> Or is there a better way? We could do the calculation in the maven plugin,
> but thought it better to delegate to the existing code in XJC2Task.
>
> Should we expose configuration settings for the produce and depend list?
>
>
> -----Original Message-----
> From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
> Sent: Friday, March 31, 2006 2:59 PM
> To: users_at_jaxb.dev.java.net
> Subject: Re: Maven 2 Jaxb2 plugin use
>
> Jonathan Johnson wrote:
>> 2. I can't do anything about the java.net download problems. Perhaps
> Kohsuke
>> can pass the message on to the server folks. When I get these problems
> with
>> ibiblio I find if you just try again and it eventually works. I'm
> surprised
>> maven is not more aggressive about retrying when we poor users get these
>> errors. ;-(
>
> I believe I uploaded checksum files to fix the issue. Does this problem
> still happen?
>
>> Hmm. No note from Kohsuke yet...
>>
>> If anyone else wants a copy of the plugin please just ask and I'll forward
>> you an email attachment. I expect Kohsuke will be posting it when he gets
>> back.
>
> We can always put a jar in jaxb/www to make it available for people to
> download manually. Should I do that now, while I work on the maven
> java.net repository?
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems kohsuke.kawaguchi_at_sun.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com