From 1889d8b9bf94cf2ff3d7543b725f2e253a8e90e7 Mon Sep 17 00:00:00 2001 From: Brian Demers Date: Wed, 7 Feb 2024 17:40:38 -0500 Subject: [PATCH] Updating build to be reproducible Multiple builds (without changes) will produce the same output (e.g. the hash of the jars will be identical) --- pom.xml | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 286e663c7..200651845 100644 --- a/pom.xml +++ b/pom.xml @@ -89,6 +89,8 @@ + + 2024-02-17T00:00:00Z UTF-8 @@ -105,6 +107,7 @@ 1.6.1 4.2.rc3 true + 5.1.9 7 ${user.name}-${maven.build.timestamp} @@ -466,7 +469,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.2.1 + 3.2.3 deprecated true @@ -639,10 +642,39 @@ false + + org.apache.maven.plugins + maven-clean-plugin + 3.1.0 + + + + bundle-manifest-fix + process-resources + + clean + + + true + + + ${project.build.outputDirectory} + + META-INF/MANIFEST.MF + + + + + + + org.apache.felix maven-bundle-plugin - 3.5.0 + ${felix.version} bundle-manifest @@ -678,6 +710,7 @@ 3.2.2 3.8.1 + 3.5.1 20230618 bcprov-jdk15to18 bcpkix-jdk15to18