I am trying to remove comments including generation date from generated sources (in an effort to achieve deterministic builds).
However, the noGeneratedHeaderComments config option seems to not target the episode file. I end up with a file in WEB-INF/classes/META-INF/JAXB/episode_default.xjb with the following content:
<?xml` version="1.0" encoding="UTF-8" standalone="yes"?>
<bindings version="2.1" xmlns="http://java.sun.com/xml/ns/jaxb">
<!--
This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0.1
See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
Any modifications to this file will be lost upon recompilation of the source schema.
Generated on: 2018.06.28 at 06:05:28 PM CEST
-->
I am trying to remove comments including generation date from generated sources (in an effort to achieve deterministic builds). However, the noGeneratedHeaderComments config option seems to not target the episode file. I end up with a file in WEB-INF/classes/META-INF/JAXB/episode_default.xjb with the following content:
Extract from my pom.xml :