When using the jaxb2-maven-plugin and schemagen, I include all java files to
be generated from Java to XSD:

                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>jaxb2-maven-plugin</artifactId>
                    <version>1.3</version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>schemagen</goal>
                            </goals>
                        </execution>
                    </executions>
                    <configuration>
                        <includes>
                            <include>**/*.java</include>
                        </includes>
                    </configuration>
                </plugin>

The question I have is if I include a package-info.java class at each
package level, a different schema is produced...which is totally
cool...except the schemas are not linked through import or includes.  So
what I wind up producing from a Java Class that is associated with another
Java Class (in two different packages) is two schemas (like I want), but the
one schema doesn't import/include the other schema.  Is this how this is
supposed to work?

Thanks,

Jay
-- 
View this message in context: 
http://old.nabble.com/jaxb2-maven-plugin---schemagen-produce-multiple-xsds-without-import-include-tp29249697p29249697.html
Sent from the mojo - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to