Hi,

While investigating reproducibility issues on the javadoc package of a package I'm updating I discovered that the maven-javadoc-plugin generates lists of packages (passed as @packages argument to javadoc) that have an ordering that varies depending on filesystem ordering [1].

That alone would not be a problem as that `packages` file is normally not included in the resulting binary packages. But unfortunately several javadoc implementations (at least OpenJDK 11 and 21) will sometimes produce a slightly different output depending on the ordering of the package list as input.

I believe that this should be primarily fixed in javadoc, but that sorting the list generated by the maven-javadoc-plugin is also a reasonable mitigation that will improve reproducibility when using JDKs that haven't been fixed.

Do you think this is worth opening an issue on your tracker?

Best regards,


[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089013

--
Julien Plissonneau Duquène

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to