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.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--tp20918118p20920625.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]

Reply via email to