Closed
Description
Instances of java.util.Properties
are typically written to file using Properties#store
. Since this method also writes a timestamp in a comment, its use is problematic in projects that need to have reproducible builds.
If Spring Framework could provide utility for writing Properties
to a file in a repeatable manner, this would IMO be of great benefit to all Spring projects. There are already several issues/PRs that are blocked due to the shortcomings of Properties#store
:
- Make it possible for the output from the BuildInfo task to be repeatable spring-boot#14494
- Ensure indexer output is deterministic and repeatable #22383
/cc @dsyer @wilkinsona