bjornvester / xjc-gradle-plugin

A Gradle plugin for running the XJC binding compiler to generate JAXB Java source code from XSD schemas
MIT License
59 stars 10 forks source link

Add @Generated annotation to generated classes #2

Open tias79 opened 5 years ago

tias79 commented 5 years ago

When generating Java classes from schema it would be very convenient for classes to be annotated with the @Generated annotation, making it easier to exclude them from test coverage tools (as an example).

bjornvester commented 5 years ago

Thanks, I agree. I will put it on my todo-list. I also think there is a plugin for that in XJC so it should be easy.