JAXB XJC Possible to suppress comment creation in generated classes?

前端 未结 8 1207
渐次进展
渐次进展 2021-01-01 09:45

Our project uses XJC to generate Java classes from an XSD. I\'m using JAVA EE 6.

When all the XSDs we have are re-generated, the generated classes include this comm

8条回答
  •  自闭症患者
    2021-01-01 10:32

    If it's not possible using an option you can post-process the generated files yourself. For a very specific use-case we had to do it that way on our project... We use Maven and we execute a specific script after the Java classes have been generated and before we compile and package them to a distriuable JAR.

提交回复
热议问题