users@jaxb.java.net

Re: Maven Plugins - Which is best?

From: Malachi de Ælfweald <malachid_at_gmail.com>
Date: Tue, 8 Jul 2008 14:50:32 -0700

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/
>