This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-release-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new f52aaad Improve validation guide for the reproducible build step
f52aaad is described below
commit f52aaadda230527ddd558eb5227c3c8abe4acc4a
Author: Alex Herbert <[email protected]>
AuthorDate: Fri May 1 10:31:56 2026 +0100
Improve validation guide for the reproducible build step
---
src/main/resources/commons-xdoc-templates/vote-txt-template.txt | 2 ++
src/main/scripts/generate-xdocs.build.xml | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/main/resources/commons-xdoc-templates/vote-txt-template.txt
b/src/main/resources/commons-xdoc-templates/vote-txt-template.txt
index 4806e0e..f09f6db 100644
--- a/src/main/resources/commons-xdoc-templates/vote-txt-template.txt
+++ b/src/main/resources/commons-xdoc-templates/vote-txt-template.txt
@@ -138,6 +138,8 @@ Linux: uname -a
To check that a build is reproducible, run:
+# Verify using a JDK major version matching: @JAVA_VERSION@
+export TZ="@TIMEZONE@"
mvn clean verify artifact:compare -DskipTests
-Dreference.repo=https://repository.apache.org/content/repositories/staging/
'-Dbuildinfo.ignore=*/*.spdx.json'
Note that this excludes SPDX files from the check.
diff --git a/src/main/scripts/generate-xdocs.build.xml
b/src/main/scripts/generate-xdocs.build.xml
index 566af80..702fdc5 100644
--- a/src/main/scripts/generate-xdocs.build.xml
+++ b/src/main/scripts/generate-xdocs.build.xml
@@ -126,6 +126,8 @@
<filter token="TAGCOMMIT" value="${git.tag.commit}"/>
<filter token="SITEURL" value="${svn.site.url}"/>
<filter token="NEXUS_REPO_ID" value="${commons.nexus.repo.id}"/>
+ <filter token="JAVA_VERSION" value="${java.version}"/>
+ <filter token="TIMEZONE" value="${user.timezone}"/>
</filterset>
</copy>