Reproducible Builds using jaxb maven plugin - highsource/jaxb-tools GitHub Wiki

Reproducible builds using jaxb-maven-plugin

If you're targeting reproducible builds in a project using jaxb-maven-plugin you should apply these recommendations :

  • On jaxb-maven-plugin 2.x : use minimal 2.0.16 and apply configuration

    • noFileHeader : true (removes comments in java generated files)
    • removeCommentsFromEpisode : true (removes comments in episode generated files)
    • locale : fixed value (en for example)
  • On jaxb-maven-plugin 4.x : use minimal 4.0.16 and apply configuration

    • noFileHeaderDate : true (removes date generated comment in java and episode generated files)
    • locale : fixed value (en for example)