]> source.dussan.org Git - aspectj.git/commitdiff
Reproducible builds: set project.build.outputTimestamp
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Sat, 17 Feb 2024 04:24:26 +0000 (11:24 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Sat, 17 Feb 2024 04:24:26 +0000 (11:24 +0700)
See https://maven.apache.org/guides/mini/guide-reproducible-builds.html.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
pom.xml

diff --git a/pom.xml b/pom.xml
index f4642ff12ef9743be41f2a2d5daa6f56e9e8e62e..c8f918b3df5563b66eaf0ee30fce6d886b3e72ba 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 
+               <!--
+                       Set fixed timestamp for reproducible builds,
+                       see https://maven.apache.org/guides/mini/guide-reproducible-builds.html
+               -->
+               <project.build.outputTimestamp>2024-01-01T00:00:00Z</project.build.outputTimestamp>
+
                <!-- By default, do not deploy artifacts - override for the ones which actually should be deployed -->
                <maven.deploy.skip>true</maven.deploy.skip>
                <!-- By default, do not create javadoc - override in release profile or manually -->