From 6be4aca5e1e1047fb076a2a8d5b49b309b65fdfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Thu, 28 Apr 2022 09:29:14 +0200 Subject: [PATCH] make build reproducible --- .gitignore | 1 + .../src/main/resources/alpine-executable-war.version | 2 -- alpine-infra/src/test/resources/alpine.version | 2 -- alpine-model/src/test/resources/alpine.version | 2 -- alpine-server/src/main/resources/alpine.version | 2 -- pom.xml | 10 ++++++++++ 6 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..2f7896d1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +target/ diff --git a/alpine-executable-war/src/main/resources/alpine-executable-war.version b/alpine-executable-war/src/main/resources/alpine-executable-war.version index b5846a3d..de55c14d 100644 --- a/alpine-executable-war/src/main/resources/alpine-executable-war.version +++ b/alpine-executable-war/src/main/resources/alpine-executable-war.version @@ -1,4 +1,2 @@ name=${project.name} version=${project.version} -timestamp=${timestamp} -uuid=${project.build.uuid} \ No newline at end of file diff --git a/alpine-infra/src/test/resources/alpine.version b/alpine-infra/src/test/resources/alpine.version index b5846a3d..de55c14d 100644 --- a/alpine-infra/src/test/resources/alpine.version +++ b/alpine-infra/src/test/resources/alpine.version @@ -1,4 +1,2 @@ name=${project.name} version=${project.version} -timestamp=${timestamp} -uuid=${project.build.uuid} \ No newline at end of file diff --git a/alpine-model/src/test/resources/alpine.version b/alpine-model/src/test/resources/alpine.version index b5846a3d..de55c14d 100644 --- a/alpine-model/src/test/resources/alpine.version +++ b/alpine-model/src/test/resources/alpine.version @@ -1,4 +1,2 @@ name=${project.name} version=${project.version} -timestamp=${timestamp} -uuid=${project.build.uuid} \ No newline at end of file diff --git a/alpine-server/src/main/resources/alpine.version b/alpine-server/src/main/resources/alpine.version index 0e8e722d..34a79a54 100644 --- a/alpine-server/src/main/resources/alpine.version +++ b/alpine-server/src/main/resources/alpine.version @@ -1,4 +1,2 @@ name=Alpine version=${project.version} -timestamp=${timestamp} -uuid=${project.build.uuid} \ No newline at end of file diff --git a/pom.xml b/pom.xml index e84717f5..074003b2 100644 --- a/pom.xml +++ b/pom.xml @@ -97,6 +97,7 @@ UTF-8 UTF-8 ${maven.build.timestamp} + 10 3.10.1 @@ -115,6 +116,7 @@ 1.0.1 0.8.8 3.1.0 + 3.0.0-M5 18.20 @@ -502,6 +504,14 @@ datanucleus-maven-plugin ${maven.datanucleus.plugin.version} + + org.apache.maven.plugins + maven-release-plugin + ${maven.release.plugin.version} + + true + +