Good Morning everyone. I'm having a problem with my Jaxb2 schemagen plugin for maven. What happens is that the .xsd files are generated correctly in the output folder. However within it are generated the .class files as well , polluting my directory. My question is: how can I tell the maven plugin schemagen to generate only the .xsd files and not the class files? here is my pom:
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxb2-maven-plugin</artifactId> <version>1.5</version> <executions> <execution> <phase>generate-resources</phase> <id>schemagen</id> <goals> <goal>schemagen</goal> </goals> <configuration> <includes> <include>com/delagelanden/rijee6/domain/*.java</include> </includes> <outputDirectory>${project.build.directory}/schemas</outputDirectory> <verbose>true</verbose> </configuration> </execution> </executions> </plugin> I didn't find any about this in the documentation, thank you very much, Miguel Garz