Kohsuke - That fixed it! Thank you for the helpful code change.
Congratulation on the recent release!
Bill Simons - Thank you for reporting the problem.
The instructions and downloadable zip file have been updated.
If anyone wishes to use Maven 2 with JAXB 2.0 then follow the instructions
here:
https://jaxb.dev.java.net/jaxb-maven2-plugin/
-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: Monday, May 15, 2006 6:51 PM
To: users_at_jaxb.dev.java.net
Subject: Re: Maven 2 Jaxb2 plugin available.
Sorry for the delay. JavaOne preparation took my time away.
The trace message indicates that XJC isn't informed of any "produces"
set. I haven't verified that this works, but I'd suggest changing the
relevant line to:
> // Configure production artifacts to determine generation
> FileSet products = new FileSet();
>
> File outDir = generateDirectory;
> if (generatePackage != null)
> {
> outDir = new File(outDir,generatePackage.replace('.',
File.separatorChar));
> }
> products.setDir(outDir);
> products.setIncludes("**/*.java");
> xjc2TaskAdapter.addConfiguredProduces(products);
I attached the diff. If you want me to commit, I can do so, too.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com