If I have an xsd file in the following directories
src/main/resources/xsd src/main/resources/schema/common src/main/resources/schema/soap
How can I instruct the maven jaxb plugin to create jaxb classes using all the schema files in the above directory? I can get it to generate class files if I specify one of the folders, but I canโt get it, I donโt know how to include all three folders.
This is how I create files for one folder:
<plugin> <groupId>org.jvnet.jaxb2.maven2</groupId> <artifactId>maven-jaxb2-plugin</artifactId> <executions> <execution> <goals> <goal>generate</goal> </goals> </execution> </executions> <configuration> <schemaDirectory>src/main/resources/xsd</schemaDirectory> </configuration> </plugin>
I tried adding a few elements to the element, but it just ignores them all if I do this.
thanks
ziggy source share