Hi, im using maven-jaxb2-plugin to generate from a 1.0xsd file:
<plugin> <groupId>org.jvnet.jaxb2.maven2</groupId> <artifactId>maven-jaxb2-plugin</artifactId> <executions> <execution> <id>generate-modelesV1.0</id> <goals> <goal>generate</goal> </goals> <configuration> <schemaDirectory>src/main/resources/schemas/modeles</schemaDirectory> <generatePackage>fr.recouv.scribe.core.jaxb.pojo</generatePackage> <schemaIncludes> <include>modeles-v1.0.xsd</include> </schemaIncludes> </configuration> </execution> </executions> </plugin>
Unfortunately ALL classes are in the same directory. I want a directory per namespace if possible. Ive already looked in the online documentaion without success.
Im asking that because in a futur we will have a new version of the xsd (1.1) & we want to conserv retrocompatibility. Each element with the same name but with in different namespace will exist in their own directory.
Thanks in advance for your help. I really appreciate.