From e1c073fcc8cc122033aaefa0965388dd762215f1 Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Sun, 22 Sep 2024 20:25:11 +0300 Subject: [PATCH] OF-2877 Reproducible builds Pin the build timestamp to 1980-02-01 as Gradle uses when preserveFileTimestamps = false. Disable Built-By, Created-By and Build-Jdk-Spec fields from generated manifest. The Maven JAR plugin is updated to latest version that has the new option addDefaultEntries --- i18n/pom.xml | 4 ++++ plugins/pom.xml | 10 +++++++++- pom.xml | 6 +++++- starter/pom.xml | 2 ++ xmppserver/pom.xml | 4 ++++ 5 files changed, 24 insertions(+), 2 deletions(-) diff --git a/i18n/pom.xml b/i18n/pom.xml index 87e5ed8779..8d8bd3b82b 100644 --- a/i18n/pom.xml +++ b/i18n/pom.xml @@ -9,6 +9,10 @@ i18n Internationalization files for Openfire These files are shared among the starter and xmppserver modules + + + 1980-02-01T00:00:00Z + diff --git a/plugins/pom.xml b/plugins/pom.xml index 5d6b1b417b..ecad5a1b6d 100644 --- a/plugins/pom.xml +++ b/plugins/pom.xml @@ -110,6 +110,8 @@ UTF-8 + + 1980-02-01T00:00:00Z + false + + **/*_jsp.java diff --git a/pom.xml b/pom.xml index 1f1f176e61..52363d2a7e 100644 --- a/pom.xml +++ b/pom.xml @@ -115,6 +115,8 @@ UTF-8 + + 1980-02-01T00:00:00Z @@ -225,12 +227,14 @@ org.apache.maven.plugins maven-jar-plugin - 3.1.1 + 3.4.2 false true + + false Jive Software (www.igniterealtime.org) diff --git a/starter/pom.xml b/starter/pom.xml index 8e73dacf29..b87ad0b169 100644 --- a/starter/pom.xml +++ b/starter/pom.xml @@ -10,6 +10,8 @@ Starter for Openfire Starts Openfire and also launches the web admin interface in a web browser + + 1980-02-01T00:00:00Z diff --git a/xmppserver/pom.xml b/xmppserver/pom.xml index 285195d2e2..c1039c1cf6 100644 --- a/xmppserver/pom.xml +++ b/xmppserver/pom.xml @@ -10,6 +10,8 @@ Core XMPP Server + + 1980-02-01T00:00:00Z ${basedir}/src/main/webapp @@ -106,6 +108,8 @@ true + + false