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

pkarwasz pushed a commit to branch bnd
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 873f468f787cd75ea35e30dfb5d587c147b7d618
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Tue Sep 26 09:03:51 2023 +0200

    Replace explicit versions with property
---
 log4j-1.2-api/pom.xml                                              | 2 +-
 log4j-api-java9/pom.xml                                            | 2 +-
 log4j-api-test/pom.xml                                             | 2 +-
 log4j-api/pom.xml                                                  | 2 +-
 log4j-appserver/pom.xml                                            | 2 +-
 log4j-bom/pom.xml                                                  | 2 +-
 log4j-cassandra/pom.xml                                            | 2 +-
 log4j-core-its/pom.xml                                             | 2 +-
 log4j-core-java9/pom.xml                                           | 2 +-
 log4j-core-test/pom.xml                                            | 2 +-
 log4j-core/pom.xml                                                 | 2 +-
 log4j-couchdb/pom.xml                                              | 2 +-
 log4j-distribution/pom.xml                                         | 2 +-
 log4j-docker/pom.xml                                               | 2 +-
 log4j-flume-ng/pom.xml                                             | 2 +-
 log4j-iostreams/pom.xml                                            | 2 +-
 log4j-jakarta-smtp/pom.xml                                         | 2 +-
 log4j-jakarta-web/pom.xml                                          | 2 +-
 log4j-jcl/pom.xml                                                  | 2 +-
 log4j-jdbc-dbcp2/pom.xml                                           | 2 +-
 log4j-jpa/pom.xml                                                  | 2 +-
 log4j-jpl/pom.xml                                                  | 2 +-
 log4j-jul/pom.xml                                                  | 2 +-
 log4j-kubernetes/pom.xml                                           | 2 +-
 log4j-layout-template-json-test/pom.xml                            | 2 +-
 log4j-layout-template-json/pom.xml                                 | 2 +-
 log4j-mongodb3/pom.xml                                             | 2 +-
 log4j-mongodb4/pom.xml                                             | 2 +-
 log4j-osgi/pom.xml                                                 | 2 +-
 log4j-perf/pom.xml                                                 | 2 +-
 log4j-slf4j-impl/pom.xml                                           | 2 +-
 log4j-slf4j2-impl/pom.xml                                          | 2 +-
 log4j-spring-boot/pom.xml                                          | 2 +-
 log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml | 2 +-
 log4j-spring-cloud-config/pom.xml                                  | 2 +-
 log4j-taglib/pom.xml                                               | 2 +-
 log4j-to-jul/pom.xml                                               | 2 +-
 log4j-to-slf4j/pom.xml                                             | 2 +-
 log4j-web/pom.xml                                                  | 2 +-
 pom.xml                                                            | 3 ++-
 40 files changed, 41 insertions(+), 40 deletions(-)

diff --git a/log4j-1.2-api/pom.xml b/log4j-1.2-api/pom.xml
index 10d62defce..31b0a70fdd 100644
--- a/log4j-1.2-api/pom.xml
+++ b/log4j-1.2-api/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-1.2-api</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-api-java9/pom.xml b/log4j-api-java9/pom.xml
index 5533e3d401..cfd02630aa 100644
--- a/log4j-api-java9/pom.xml
+++ b/log4j-api-java9/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-api-java9</artifactId>
   <packaging>pom</packaging>
diff --git a/log4j-api-test/pom.xml b/log4j-api-test/pom.xml
index ab9160fc35..d4da0aea65 100644
--- a/log4j-api-test/pom.xml
+++ b/log4j-api-test/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-api-test</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-api/pom.xml b/log4j-api/pom.xml
index d6b0619000..e27cf7520b 100644
--- a/log4j-api/pom.xml
+++ b/log4j-api/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-api</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-appserver/pom.xml b/log4j-appserver/pom.xml
index b17706fb4f..bb7cf2da0e 100644
--- a/log4j-appserver/pom.xml
+++ b/log4j-appserver/pom.xml
@@ -22,7 +22,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-appserver</artifactId>
diff --git a/log4j-bom/pom.xml b/log4j-bom/pom.xml
index 7f0469d8c2..725989476e 100644
--- a/log4j-bom/pom.xml
+++ b/log4j-bom/pom.xml
@@ -24,7 +24,7 @@
   </parent>
   <groupId>org.apache.logging.log4j</groupId>
   <artifactId>log4j-bom</artifactId>
-  <version>2.21.0-SNAPSHOT</version>
+  <version>${revision}</version>
   <packaging>pom</packaging>
   <name>Apache Log4j BOM</name>
   <description>Apache Log4j Bill of Materials</description>
diff --git a/log4j-cassandra/pom.xml b/log4j-cassandra/pom.xml
index 8e777fed2a..605a59b12c 100644
--- a/log4j-cassandra/pom.xml
+++ b/log4j-cassandra/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-cassandra</artifactId>
diff --git a/log4j-core-its/pom.xml b/log4j-core-its/pom.xml
index 3222cb4d37..7f9df6fb75 100644
--- a/log4j-core-its/pom.xml
+++ b/log4j-core-its/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-core-its</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-core-java9/pom.xml b/log4j-core-java9/pom.xml
index 5d7b1b398d..25a15e29b0 100644
--- a/log4j-core-java9/pom.xml
+++ b/log4j-core-java9/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-core-java9</artifactId>
   <packaging>pom</packaging>
diff --git a/log4j-core-test/pom.xml b/log4j-core-test/pom.xml
index 31f6dd5f32..41259663ec 100644
--- a/log4j-core-test/pom.xml
+++ b/log4j-core-test/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-core-test</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-core/pom.xml b/log4j-core/pom.xml
index e1632f6e0e..757224e876 100644
--- a/log4j-core/pom.xml
+++ b/log4j-core/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-core</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-couchdb/pom.xml b/log4j-couchdb/pom.xml
index e5d7c95b09..b8d786b473 100644
--- a/log4j-couchdb/pom.xml
+++ b/log4j-couchdb/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-couchdb</artifactId>
diff --git a/log4j-distribution/pom.xml b/log4j-distribution/pom.xml
index 06ec954257..d50b7b3a64 100644
--- a/log4j-distribution/pom.xml
+++ b/log4j-distribution/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-distribution</artifactId>
   <packaging>pom</packaging>
diff --git a/log4j-docker/pom.xml b/log4j-docker/pom.xml
index 3356f2ea9e..769b27ac1e 100644
--- a/log4j-docker/pom.xml
+++ b/log4j-docker/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-docker</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-flume-ng/pom.xml b/log4j-flume-ng/pom.xml
index 0a7b150799..7154b61641 100644
--- a/log4j-flume-ng/pom.xml
+++ b/log4j-flume-ng/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-flume-ng</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-iostreams/pom.xml b/log4j-iostreams/pom.xml
index 12fd34bf83..0650cb593b 100644
--- a/log4j-iostreams/pom.xml
+++ b/log4j-iostreams/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-iostreams</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-jakarta-smtp/pom.xml b/log4j-jakarta-smtp/pom.xml
index 82fe96b9b0..1450a8fa78 100644
--- a/log4j-jakarta-smtp/pom.xml
+++ b/log4j-jakarta-smtp/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-jakarta-smtp</artifactId>
diff --git a/log4j-jakarta-web/pom.xml b/log4j-jakarta-web/pom.xml
index a212374ca2..a9896151be 100644
--- a/log4j-jakarta-web/pom.xml
+++ b/log4j-jakarta-web/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-jakarta-web</artifactId>
diff --git a/log4j-jcl/pom.xml b/log4j-jcl/pom.xml
index 3bfcb09f90..267b7ec0dd 100644
--- a/log4j-jcl/pom.xml
+++ b/log4j-jcl/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-jcl</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-jdbc-dbcp2/pom.xml b/log4j-jdbc-dbcp2/pom.xml
index 43cb4fe9ea..7f0ee1e6e5 100644
--- a/log4j-jdbc-dbcp2/pom.xml
+++ b/log4j-jdbc-dbcp2/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-jdbc-dbcp2</artifactId>
diff --git a/log4j-jpa/pom.xml b/log4j-jpa/pom.xml
index 68c7f3177d..20db243c94 100644
--- a/log4j-jpa/pom.xml
+++ b/log4j-jpa/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-jpa</artifactId>
diff --git a/log4j-jpl/pom.xml b/log4j-jpl/pom.xml
index bf857aac59..cbad363f2d 100644
--- a/log4j-jpl/pom.xml
+++ b/log4j-jpl/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-jpl</artifactId>
diff --git a/log4j-jul/pom.xml b/log4j-jul/pom.xml
index dfbd46fd85..9ceb7dc08f 100644
--- a/log4j-jul/pom.xml
+++ b/log4j-jul/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-jul</artifactId>
diff --git a/log4j-kubernetes/pom.xml b/log4j-kubernetes/pom.xml
index 1a78cb1d38..f028fd82db 100644
--- a/log4j-kubernetes/pom.xml
+++ b/log4j-kubernetes/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-kubernetes</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-layout-template-json-test/pom.xml 
b/log4j-layout-template-json-test/pom.xml
index 8d6267f35d..8217e6b029 100644
--- a/log4j-layout-template-json-test/pom.xml
+++ b/log4j-layout-template-json-test/pom.xml
@@ -22,7 +22,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-layout-template-json-test</artifactId>
diff --git a/log4j-layout-template-json/pom.xml 
b/log4j-layout-template-json/pom.xml
index a9002bb12d..8e22f39c8c 100644
--- a/log4j-layout-template-json/pom.xml
+++ b/log4j-layout-template-json/pom.xml
@@ -22,7 +22,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-layout-template-json</artifactId>
diff --git a/log4j-mongodb3/pom.xml b/log4j-mongodb3/pom.xml
index 033c8b37bd..b17651c7b9 100644
--- a/log4j-mongodb3/pom.xml
+++ b/log4j-mongodb3/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-mongodb3</artifactId>
diff --git a/log4j-mongodb4/pom.xml b/log4j-mongodb4/pom.xml
index ea3a8e7609..40252bc02e 100644
--- a/log4j-mongodb4/pom.xml
+++ b/log4j-mongodb4/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-mongodb4</artifactId>
diff --git a/log4j-osgi/pom.xml b/log4j-osgi/pom.xml
index 920d7da133..7d3a0360be 100644
--- a/log4j-osgi/pom.xml
+++ b/log4j-osgi/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-osgi</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-perf/pom.xml b/log4j-perf/pom.xml
index 35f75106b4..37398419a1 100644
--- a/log4j-perf/pom.xml
+++ b/log4j-perf/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-perf</artifactId>
diff --git a/log4j-slf4j-impl/pom.xml b/log4j-slf4j-impl/pom.xml
index 815e4c0e07..b7f056da3c 100644
--- a/log4j-slf4j-impl/pom.xml
+++ b/log4j-slf4j-impl/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-slf4j-impl</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-slf4j2-impl/pom.xml b/log4j-slf4j2-impl/pom.xml
index 8aba7f0ef4..0db98142f2 100644
--- a/log4j-slf4j2-impl/pom.xml
+++ b/log4j-slf4j2-impl/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-slf4j2-impl</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-spring-boot/pom.xml b/log4j-spring-boot/pom.xml
index 1169e72002..73b14efa67 100644
--- a/log4j-spring-boot/pom.xml
+++ b/log4j-spring-boot/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-spring-boot</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml 
b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml
index 3169d492ea..e4caa5173b 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j-spring-cloud-config</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-spring-cloud-config-client</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-spring-cloud-config/pom.xml 
b/log4j-spring-cloud-config/pom.xml
index 040f6ec6c8..3394572cf0 100644
--- a/log4j-spring-cloud-config/pom.xml
+++ b/log4j-spring-cloud-config/pom.xml
@@ -22,7 +22,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-spring-cloud-config</artifactId>
diff --git a/log4j-taglib/pom.xml b/log4j-taglib/pom.xml
index 1ec4c93b4b..f9392feda0 100644
--- a/log4j-taglib/pom.xml
+++ b/log4j-taglib/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-taglib</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-to-jul/pom.xml b/log4j-to-jul/pom.xml
index 69afcd27a1..cd1bdc5a8d 100644
--- a/log4j-to-jul/pom.xml
+++ b/log4j-to-jul/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-to-jul</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-to-slf4j/pom.xml b/log4j-to-slf4j/pom.xml
index fdb6f76de2..beca3ae91e 100644
--- a/log4j-to-slf4j/pom.xml
+++ b/log4j-to-slf4j/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
   <artifactId>log4j-to-slf4j</artifactId>
   <packaging>jar</packaging>
diff --git a/log4j-web/pom.xml b/log4j-web/pom.xml
index 5ea959a0a1..7f601912b1 100644
--- a/log4j-web/pom.xml
+++ b/log4j-web/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging.log4j</groupId>
     <artifactId>log4j</artifactId>
-    <version>2.21.0-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>log4j-web</artifactId>
diff --git a/pom.xml b/pom.xml
index e591be519b..1215c2d64e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
 
   <groupId>org.apache.logging.log4j</groupId>
   <artifactId>log4j</artifactId>
-  <version>2.21.0-SNAPSHOT</version>
+  <version>${revision}</version>
   <packaging>pom</packaging>
 
   <name>Apache Log4j 2</name>
@@ -298,6 +298,7 @@
     <log4jReleaseManager>Ralph Goers</log4jReleaseManager>
     <log4jReleaseKey>B3D8E1BA</log4jReleaseKey>
     <log4jSigningUserName>[email protected]</log4jSigningUserName>
+    <revision>2.21.0-SNAPSHOT</revision>
 
     <!-- =================
          Common properties

Reply via email to