users@jaxb.java.net

Re: Maven Plugins - Which is best?

From: Joshua Smith <josh_at_rationalpi.com>
Date: Wed, 9 Jul 2008 09:33:33 -0400

Thank you Malachi.

On Tue, Jul 8, 2008 at 5:50 PM, Malachi de Ælfweald <malachid_at_gmail.com>
wrote:

> This is my entire configuration in my pom.xml. It finds the XSDs anywhere
> in my heirarchy.
>
> <plugin>
> <groupId>org.jvnet.jaxb2.maven2</groupId>
> <artifactId>maven-jaxb2-plugin</artifactId>
> <executions>
> <execution>
> <goals>
> <goal>generate</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <!--
> https://maven-jaxb2-plugin.dev.java.net/nonav/maven-jaxb2-plugin-project/maven-jaxb2-plugin/generate-mojo.html-->
> <extension>true</extension>
> <schemaIncludes>
> <schemaInclude>**/*.xsd</schemaInclude>
> </schemaIncludes>
> <strict>false</strict>
> </configuration>
> </plugin>
>
>
>
> On Tue, Jul 8, 2008 at 1:59 PM, Joshua Smith <josh_at_rationalpi.com> wrote:
>
>> Maven Users-
>>
>> There are 3 Maven plugins listed on the main JAXB web page. Can anyone
>> describe the differences or make any recommendations about which one is the
>> best to use? I'm mainly interested in schema generation.
>>
>> Thanks,
>> Joshua Smith
>>
>> JAXB Main Page
>> https://jaxb.dev.java.net/
>>
>> JAXB XJC Maven 2 Plugin
>> https://jaxb.dev.java.net/jaxb-maven2-plugin/
>>
>> Maven-JAXB-Schemagen
>> https://jaxb.dev.java.net/maven-jaxb-schemagen/
>>
>> Maven JAXB2 Plugin
>> https://maven-jaxb2-plugin.dev.java.net/
>>
>
>