From d8f067a1a27264626d929a5238b22e356a256e9a Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 17 Jul 2023 15:18:28 -0500 Subject: [PATCH] Hard-code version number in pom.xml Some build systems require hard-coding the version number in pom.xml, so the revision property has been replaced with the actual version number. Updating the version number can be done with the following commands: $ mvn versions:set -DnewVersion= $ mvn versions:commit The .gitignore has been updated to ignore the backup files created by this command. --- .gitignore | 1 + base/acme/pom.xml | 2 +- base/ca/pom.xml | 2 +- base/common/pom.xml | 2 +- base/console/pom.xml | 2 +- base/est/pom.xml | 2 +- base/kra/pom.xml | 2 +- base/ocsp/pom.xml | 2 +- base/pom.xml | 2 +- base/server-webapp/pom.xml | 2 +- base/server/pom.xml | 2 +- base/tks/pom.xml | 2 +- base/tomcat-9.0/pom.xml | 2 +- base/tomcat/pom.xml | 2 +- base/tools/pom.xml | 2 +- base/tps/pom.xml | 2 +- pom.xml | 3 +-- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 7cf14383c25..1674bb64948 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ tests/tests.retry base/tools/test/PKICertImport/dbs target/ .flattened-pom.xml +*.versionsBackup diff --git a/base/acme/pom.xml b/base/acme/pom.xml index ee5b18ae6dd..ddd6a6479fa 100644 --- a/base/acme/pom.xml +++ b/base/acme/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-base-parent - ${revision} + 11.5.0-SNAPSHOT pki-acme diff --git a/base/ca/pom.xml b/base/ca/pom.xml index 29bafc2f722..c88832f87a9 100644 --- a/base/ca/pom.xml +++ b/base/ca/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-base-parent - ${revision} + 11.5.0-SNAPSHOT pki-ca diff --git a/base/common/pom.xml b/base/common/pom.xml index 55701313a14..47c844f040d 100644 --- a/base/common/pom.xml +++ b/base/common/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-base-parent - ${revision} + 11.5.0-SNAPSHOT pki-common diff --git a/base/console/pom.xml b/base/console/pom.xml index d8d15d2df75..8e0cafc50c0 100644 --- a/base/console/pom.xml +++ b/base/console/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-base-parent - ${revision} + 11.5.0-SNAPSHOT pki-console diff --git a/base/est/pom.xml b/base/est/pom.xml index a43df066694..bae030387e4 100644 --- a/base/est/pom.xml +++ b/base/est/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-base-parent - ${revision} + 11.5.0-SNAPSHOT pki-est diff --git a/base/kra/pom.xml b/base/kra/pom.xml index eceea1a32c8..a251fe72cb4 100644 --- a/base/kra/pom.xml +++ b/base/kra/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-base-parent - ${revision} + 11.5.0-SNAPSHOT pki-kra diff --git a/base/ocsp/pom.xml b/base/ocsp/pom.xml index 76bcc64660d..475d686271f 100644 --- a/base/ocsp/pom.xml +++ b/base/ocsp/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-base-parent - ${revision} + 11.5.0-SNAPSHOT pki-ocsp diff --git a/base/pom.xml b/base/pom.xml index b34b3412338..3342720288f 100644 --- a/base/pom.xml +++ b/base/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-parent - ${revision} + 11.5.0-SNAPSHOT pki-base-parent diff --git a/base/server-webapp/pom.xml b/base/server-webapp/pom.xml index 4e54d516c38..1dc8e47c037 100644 --- a/base/server-webapp/pom.xml +++ b/base/server-webapp/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-base-parent - ${revision} + 11.5.0-SNAPSHOT pki-server-webapp diff --git a/base/server/pom.xml b/base/server/pom.xml index aff0f4067ed..e62309356ba 100644 --- a/base/server/pom.xml +++ b/base/server/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-base-parent - ${revision} + 11.5.0-SNAPSHOT pki-server diff --git a/base/tks/pom.xml b/base/tks/pom.xml index b3b0beec204..971168f67a8 100644 --- a/base/tks/pom.xml +++ b/base/tks/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-base-parent - ${revision} + 11.5.0-SNAPSHOT pki-tks diff --git a/base/tomcat-9.0/pom.xml b/base/tomcat-9.0/pom.xml index c145dc05cfd..3b52a97aa4b 100644 --- a/base/tomcat-9.0/pom.xml +++ b/base/tomcat-9.0/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-base-parent - ${revision} + 11.5.0-SNAPSHOT pki-tomcat-9.0 diff --git a/base/tomcat/pom.xml b/base/tomcat/pom.xml index 1cfdb804027..c1969af4e88 100644 --- a/base/tomcat/pom.xml +++ b/base/tomcat/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-base-parent - ${revision} + 11.5.0-SNAPSHOT pki-tomcat diff --git a/base/tools/pom.xml b/base/tools/pom.xml index f27a2cbe1d4..68cfb6d75fd 100644 --- a/base/tools/pom.xml +++ b/base/tools/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-base-parent - ${revision} + 11.5.0-SNAPSHOT pki-tools diff --git a/base/tps/pom.xml b/base/tps/pom.xml index c845d9352a3..1f1c830ca75 100644 --- a/base/tps/pom.xml +++ b/base/tps/pom.xml @@ -8,7 +8,7 @@ org.dogtagpki.pki pki-base-parent - ${revision} + 11.5.0-SNAPSHOT pki-tps diff --git a/pom.xml b/pom.xml index 9fe5d1e6ef8..8dc708ecc1c 100644 --- a/pom.xml +++ b/pom.xml @@ -6,11 +6,10 @@ 4.0.0 org.dogtagpki.pki pki-parent - ${revision} + 11.5.0-SNAPSHOT pom - 11.5.0-SNAPSHOT UTF-8