diff --git a/build.bat b/build.bat index 7e7c3221..7c2aa6c3 100755 --- a/build.bat +++ b/build.bat @@ -1 +1,2 @@ -mvn clean compile assembly:single \ No newline at end of file +mvn clean compile assembly:single +mvn io.github.zlika:reproducible-build-maven-plugin:0.6:strip-jar \ No newline at end of file diff --git a/build.sh b/build.sh index a3ec0242..2f044cde 100755 --- a/build.sh +++ b/build.sh @@ -1,2 +1,4 @@ #!/usr/bin/env bash -mvn clean compile assembly:single \ No newline at end of file +mvn clean compile assembly:single +# Strip the jar of any non-reproducible metadata such as timestamps +mvn io.github.zlika:reproducible-build-maven-plugin:0.6:strip-jar \ No newline at end of file diff --git a/pom.xml b/pom.xml index c94f1d56..0900a8e7 100644 --- a/pom.xml +++ b/pom.xml @@ -61,6 +61,11 @@ + + io.github.zlika + reproducible-build-maven-plugin + 0.6 + maven-assembly-plugin