Reproducible metadata by ebourg · Pull Request #7 · codehaus-plexus/plexus-containers (original) (raw)
Hi,
The components.xml file generated by the plexus-containers-metadata plugin isn't deterministic. The output varies depending on the computer/JDK/architecture used. In order to make the output reproducible I suggest sorting the components descriptors before writing them. Here is an implementation with its unit test.
This patch has been tested in Debian as part of the reproducible builds effort.
Thank you