RE: Maven Jaxb plugin?

2008-12-09 Thread Adam Leggett
Try http://mojo.codehaus.org/jaxb2-maven-plugin/index.html For example: org.codehaus.mojo jaxb2-maven-plugin xjc com.acme

RE: Maven Jaxb plugin?

2008-12-09 Thread CheapLisa
thanks! I was able to get a little further but got this error message: [ERROR] null[-1,-1] java.io.FileNotFoundException: \jaxb\first\src\main\xsd (The system cannot find the file specified) I do not have a directory called /src/main/xsd/ I do have /src/main/resources/xsd. Is there a way to s

RE: Maven Jaxb plugin?

2008-12-09 Thread CheapLisa
Another question, is there a maven2 plugin that will generate an XSD from XML ? thanks Lisa Adam Leggett wrote: > > Try http://mojo.codehaus.org/jaxb2-maven-plugin/index.html > > For example: > > > org.codehaus.mojo > jaxb2-maven-plugin > > >

Re: Maven Jaxb plugin?

2008-12-09 Thread Josh Suereth
In the past I've used the maven-exec-plugin with xbeans. Not sure if that helps. On Dec 9, 2008, at 1:31 PM, CheapLisa <[EMAIL PROTECTED]> wrote: Another question, is there a maven2 plugin that will generate an XSD from XML ? thanks Lisa Adam Leggett wrote: Try http://mojo.codeh

RE: Maven Jaxb plugin?

2008-12-10 Thread Anders Hammar
Hi, Try the 'schemaDirectory' parameter. It's documented here: http://mojo.codehaus.org/jaxb2-maven-plugin/xjc-mojo.html /Anders CheapLisa wrote: > > thanks! I was able to get a little further but got this error message: > > [ERROR] null[-1,-1] > java.io.FileNotFoundException: \jaxb\first\sr

Re: Maven Jaxb plugin?

2008-12-12 Thread Jerome Lacoste
On Wed, Dec 10, 2008 at 12:33 PM, Anders Hammar wrote: > > Hi, > > Try the 'schemaDirectory' parameter. It's documented here: > http://mojo.codehaus.org/jaxb2-maven-plugin/xjc-mojo.html There are many jaxb plugins. We have tried the codehaus mojo one, this one com.sun.tools.xjc.maven2