thanks! I was able to get a little further but got this error message: [ERROR] null[-1,-1] java.io.FileNotFoundException: <project_home>\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 specify to the plugin where the xsd files are? I have a directory structure that I can not change. Adam Leggett wrote: > > Try http://mojo.codehaus.org/jaxb2-maven-plugin/index.html > > For example: > > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>jaxb2-maven-plugin</artifactId> > <executions> > <execution> > <goals> > <goal>xjc</goal> > </goals> > </execution> > </executions> > <configuration> > <packageName>com.acme</packageName> > </configuration> > </plugin> > > -----Original Message----- > From: CheapLisa [mailto:[EMAIL PROTECTED] > Sent: 09 December 2008 16:33 > To: users@maven.apache.org > Subject: Maven Jaxb plugin? > > > I searched for a maven jaxb plugin and found xjc-maven-plugin but it is > not > documented. > > Does anyone have an example of generating an xsd from xml and then the > java > objects from xsd? > > Does anyone know why this plugin is not documented? > -- > View this message in context: > http://www.nabble.com/Maven-Jaxb-plugin--tp20918118p20918118.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Maven-Jaxb-plugin--tp20918118p20920566.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]