我想让 maven-jaxb2-plugin
不写“免责声明”:
This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.2-hudson-jaxb-ri-2.2-63-
See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
Any modifications to this file will be lost upon recompilation of the source schema.
Generated on: 2011.08.01 at 09:20:43 AM CEST
至少是时间戳。
谢谢。
乌多。
最佳答案
使用 -no-header
如果您使用命令行源代码生成器或 header='false'
如果你使用 Ant 。
在 pom 中,在配置中 <args><arg>-no-header</arg></args>
关于java - 使用 jaxb2 maven 插件跳过 Java 文件中的生成...,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6899256/