There are 2 comments.
 
 
XWiki Commons / cid:jira-generated-image-avatar-3b7616d2-0fec-4e55-82d1-e26038e781a2 XCOMMONS-3109 Open

Declare project.build.outputTimestamp to make the build reproducible

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-679c87db-58fb-4a2e-89ae-a2bf51f59687 Thomas Mortagne on 07/Aug/24 14:35
 

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.

OK, I tough you were planning to set a default value default that would then be dynamically changed during the release with -Dproject.build.outputTimestamp. I missed the fact that the release plugin has native support for this.

 
cid:jira-generated-image-avatar-679c87db-58fb-4a2e-89ae-a2bf51f59687 Thomas Mortagne on 07/Aug/24 14:35
 
bq. 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.

OK, I tough you were planning to set a default value
default that would then be dynamically changed during the release with {{-Dproject.build.outputTimestamp}}. I missed the fact that the release plugin has native support for this.