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

cbornet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-adapters.git


The following commit(s) were added to refs/heads/master by this push:
     new 2392bfe  enable Reproducible Builds (#39)
2392bfe is described below

commit 2392bfe2f7d97f2a323014142eef0e066405eb89
Author: Hervé Boutemy <herve.bout...@free.fr>
AuthorDate: Wed Mar 1 09:40:02 2023 +0100

    enable Reproducible Builds (#39)
---
 pom.xml                         | 3 ++-
 src/rename-netty-native-libs.sh | 4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 3dde944..fb63323 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
-    <version>23</version>
+    <version>27</version>
   </parent>
 
   <groupId>org.apache.pulsar</groupId>
@@ -99,6 +99,7 @@
 
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+    <project.build.outputTimestamp>10</project.build.outputTimestamp>
     <redirectTestOutputToFile>true</redirectTestOutputToFile>
     <test.additional.args></test.additional.args>
     <testReuseFork>true</testReuseFork>
diff --git a/src/rename-netty-native-libs.sh b/src/rename-netty-native-libs.sh
index 99da5b0..eb36350 100755
--- a/src/rename-netty-native-libs.sh
+++ b/src/rename-netty-native-libs.sh
@@ -54,6 +54,10 @@ for line in "${FILES_TO_RENAME[@]}"; do
     fi
 done
 
+touch -r META-INF/MANIFEST.MF META-INF/LICENSE.netty
+touch -r META-INF/maven META-INF/native
+touch -r META-INF/maven META-INF
+
 # Overwrite the original ZIP archive
 rm $JAR_PATH
 zip -q -r $JAR_PATH .

Reply via email to