This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git


The following commit(s) were added to refs/heads/master by this push:
     new 622dad6a Fix timestamp for reproducible builds
622dad6a is described below

commit 622dad6a7bcbe0617a98c714e048ec92db30f419
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Thu Aug 8 14:26:08 2024 +0100

    Fix timestamp for reproducible builds
---
 commons-numbers-angle/pom.xml           | 2 ++
 commons-numbers-arrays/pom.xml          | 2 ++
 commons-numbers-bom/pom.xml             | 2 ++
 commons-numbers-combinatorics/pom.xml   | 2 ++
 commons-numbers-complex-streams/pom.xml | 2 ++
 commons-numbers-complex/pom.xml         | 2 ++
 commons-numbers-core/pom.xml            | 2 ++
 commons-numbers-docs/pom.xml            | 2 ++
 commons-numbers-examples/pom.xml        | 2 ++
 commons-numbers-field/pom.xml           | 2 ++
 commons-numbers-fraction/pom.xml        | 2 ++
 commons-numbers-gamma/pom.xml           | 2 ++
 commons-numbers-primes/pom.xml          | 2 ++
 commons-numbers-quaternion/pom.xml      | 2 ++
 commons-numbers-rootfinder/pom.xml      | 2 ++
 dist-archive/pom.xml                    | 3 +++
 pom.xml                                 | 3 +++
 17 files changed, 36 insertions(+)

diff --git a/commons-numbers-angle/pom.xml b/commons-numbers-angle/pom.xml
index 3d296e0b..935e2703 100644
--- a/commons-numbers-angle/pom.xml
+++ b/commons-numbers-angle/pom.xml
@@ -38,6 +38,8 @@
     <commons.osgi.export>org.apache.commons.numbers.angle</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <numbers.jira.component>angle</numbers.jira.component>
   </properties>
 
diff --git a/commons-numbers-arrays/pom.xml b/commons-numbers-arrays/pom.xml
index 65ab6b02..944bd3ba 100644
--- a/commons-numbers-arrays/pom.xml
+++ b/commons-numbers-arrays/pom.xml
@@ -38,6 +38,8 @@
     
<commons.osgi.export>org.apache.commons.numbers.arrays</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <numbers.jira.component>arrays</numbers.jira.component>
   </properties>
 
diff --git a/commons-numbers-bom/pom.xml b/commons-numbers-bom/pom.xml
index 576ddeae..7c02f448 100644
--- a/commons-numbers-bom/pom.xml
+++ b/commons-numbers-bom/pom.xml
@@ -52,6 +52,8 @@
   <properties>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
 
     <!-- Skip the standard install and deploy to avoid processing this pom as 
the artifact. -->
     <maven.install.skip>true</maven.install.skip>
diff --git a/commons-numbers-combinatorics/pom.xml 
b/commons-numbers-combinatorics/pom.xml
index 223480b1..0823f5fe 100644
--- a/commons-numbers-combinatorics/pom.xml
+++ b/commons-numbers-combinatorics/pom.xml
@@ -38,6 +38,8 @@
     
<commons.osgi.export>org.apache.commons.numbers.combinatorics</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <numbers.jira.component>combinatorics</numbers.jira.component>
   </properties>
 
diff --git a/commons-numbers-complex-streams/pom.xml 
b/commons-numbers-complex-streams/pom.xml
index 1c57118e..21bc7c2f 100644
--- a/commons-numbers-complex-streams/pom.xml
+++ b/commons-numbers-complex-streams/pom.xml
@@ -40,6 +40,8 @@
     
<commons.osgi.export>org.apache.commons.numbers.complex.streams</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <numbers.jira.component>complex-streams</numbers.jira.component>
   </properties>
 
diff --git a/commons-numbers-complex/pom.xml b/commons-numbers-complex/pom.xml
index 11b7b6f1..76b88ebd 100644
--- a/commons-numbers-complex/pom.xml
+++ b/commons-numbers-complex/pom.xml
@@ -38,6 +38,8 @@
     
<commons.osgi.export>org.apache.commons.numbers.complex</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <numbers.jira.component>complex</numbers.jira.component>
   </properties>
 
diff --git a/commons-numbers-core/pom.xml b/commons-numbers-core/pom.xml
index 9ffaebcd..d95db42a 100644
--- a/commons-numbers-core/pom.xml
+++ b/commons-numbers-core/pom.xml
@@ -38,6 +38,8 @@
     <commons.osgi.export>org.apache.commons.numbers.core</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <numbers.jira.component>core</numbers.jira.component>
   </properties>
 
diff --git a/commons-numbers-docs/pom.xml b/commons-numbers-docs/pom.xml
index 100e7fd4..7e8e457d 100644
--- a/commons-numbers-docs/pom.xml
+++ b/commons-numbers-docs/pom.xml
@@ -37,6 +37,8 @@
     <animal.sniffer.skip>true</animal.sniffer.skip>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <!-- Skip the standard build plugins to avoid processing this 'jar' as an 
artifact. -->
     <maven.resources.skip>true</maven.resources.skip>
     <maven.source.skip>true</maven.source.skip>
diff --git a/commons-numbers-examples/pom.xml b/commons-numbers-examples/pom.xml
index cc07545e..959c4664 100644
--- a/commons-numbers-examples/pom.xml
+++ b/commons-numbers-examples/pom.xml
@@ -41,6 +41,8 @@
     
<commons.module.name>org.apache.commons.numbers.examples</commons.module.name>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <numbers.jira.component>examples</numbers.jira.component>
 
     <!-- Disable JApiCmp failures (but keep the report). The examples API is 
allowed to change. -->
diff --git a/commons-numbers-field/pom.xml b/commons-numbers-field/pom.xml
index 09933a61..a5210491 100644
--- a/commons-numbers-field/pom.xml
+++ b/commons-numbers-field/pom.xml
@@ -38,6 +38,8 @@
     <commons.osgi.export>org.apache.commons.numbers.field</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <numbers.jira.component>field</numbers.jira.component>
   </properties>
 
diff --git a/commons-numbers-fraction/pom.xml b/commons-numbers-fraction/pom.xml
index 2adf5efa..aa9a13b3 100644
--- a/commons-numbers-fraction/pom.xml
+++ b/commons-numbers-fraction/pom.xml
@@ -38,6 +38,8 @@
     
<commons.osgi.export>org.apache.commons.numbers.fraction</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <numbers.jira.component>fraction</numbers.jira.component>
   </properties>
 
diff --git a/commons-numbers-gamma/pom.xml b/commons-numbers-gamma/pom.xml
index 55aaf2c3..71d01af6 100644
--- a/commons-numbers-gamma/pom.xml
+++ b/commons-numbers-gamma/pom.xml
@@ -38,6 +38,8 @@
     <commons.osgi.export>org.apache.commons.numbers.gamma</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <numbers.jira.component>gamma</numbers.jira.component>
 
     <!-- Change from commons-parent of 1.0 as some complex branches are not 
exhaustively reached -->
diff --git a/commons-numbers-primes/pom.xml b/commons-numbers-primes/pom.xml
index 76e2de4b..ebe3ea68 100644
--- a/commons-numbers-primes/pom.xml
+++ b/commons-numbers-primes/pom.xml
@@ -38,6 +38,8 @@
     
<commons.osgi.export>org.apache.commons.numbers.primes</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <numbers.jira.component>primes</numbers.jira.component>
   </properties>
 
diff --git a/commons-numbers-quaternion/pom.xml 
b/commons-numbers-quaternion/pom.xml
index 7aae02aa..ee668bbb 100644
--- a/commons-numbers-quaternion/pom.xml
+++ b/commons-numbers-quaternion/pom.xml
@@ -38,6 +38,8 @@
     
<commons.osgi.export>org.apache.commons.numbers.quaternion</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <numbers.jira.component>quaternion</numbers.jira.component>
 
     <!-- Change from commons-parent of 1.0 as enumeration default cases cannot 
be reached -->
diff --git a/commons-numbers-rootfinder/pom.xml 
b/commons-numbers-rootfinder/pom.xml
index 8765f321..c70b6792 100644
--- a/commons-numbers-rootfinder/pom.xml
+++ b/commons-numbers-rootfinder/pom.xml
@@ -38,6 +38,8 @@
     
<commons.osgi.export>org.apache.commons.numbers.rootfinder</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <numbers.jira.component>rootfinder</numbers.jira.component>
 
     <!-- Change from commons-parent of 1.0 as one floating-point edge case is 
not reached -->
diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml
index 17453d9b..e1bf4f89 100644
--- a/dist-archive/pom.xml
+++ b/dist-archive/pom.xml
@@ -32,6 +32,9 @@ under the License.
   <description>This module creates the Apache Commons Numbers 
distribution.</description>
 
   <properties>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
+
     <checkstyle.skip>true</checkstyle.skip>
     <animal.sniffer.skip>true</animal.sniffer.skip>
     <!-- Commons Release Plugin -->
diff --git a/pom.xml b/pom.xml
index 89c68d32..cfed56fb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,6 +46,9 @@
     <commons.osgi.export>org.apache.commons.numbers</commons.osgi.export>
     <!-- This flag should only be true in the dist-archive module. -->
     <commons.release.isDistModule>false</commons.release.isDistModule>
+    <!-- Reproducible builds: maven-artifact-plugin:check-buildplan -->
+    
<numbers.build.outputTimestamp>2024-08-08T00:00:00Z</numbers.build.outputTimestamp>
+    
<project.build.outputTimestamp>${numbers.build.outputTimestamp}</project.build.outputTimestamp>
     <!-- do not use snapshot suffix here -->
     <commons.release.version>1.2</commons.release.version>
     <commons.bc.version>1.1</commons.bc.version>

Reply via email to