There is 1 comment.
 
 
XWiki Commons / cid:jira-generated-image-avatar-966ca17d-6cd9-4e23-ab55-e04568535118 XCOMMONS-3109 Open

Declare project.build.outputTimestamp to make the build reproducible

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-0c6c2752-5fae-41f5-b271-9ee2e6c29776 Michael Hamann on 07/Aug/24 14:19
 

Are you sure we really need to ? I'm wondering if the command line -Dproject.build.outputTimestamp would not have the same effect.

Then how do you choose this value? The value of specifying the value in the pom is that anybody who has access to the source repository can rebuild every release bit-by-bit as the value is included in the source. If we don't specify it in the source, we would need to document with every release which value we used and it would be much harder to automatically verify that XWiki is actually reproducible. The value in the source is also automatically set to the current date and time when the version is set during the release while we would need to manually implement a strategy how to increment the value we specify during every release.