This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git
The following commit(s) were added to refs/heads/master by this push:
new 85489718 Use a Maven property to refactor Log4j version
85489718 is described below
commit 85489718ecae781839e739d8f22aa3f393af7760
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Mar 29 09:17:01 2024 -0400
Use a Maven property to refactor Log4j version
---
commons-jcs3-core/pom.xml | 4 ++--
pom.xml | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/commons-jcs3-core/pom.xml b/commons-jcs3-core/pom.xml
index 2923be85..bea2ea3d 100644
--- a/commons-jcs3-core/pom.xml
+++ b/commons-jcs3-core/pom.xml
@@ -59,7 +59,7 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
- <version>2.23.1</version>
+ <version>${commons.log4j.version}</version>
<optional>true</optional>
</dependency>
@@ -205,7 +205,7 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
- <version>2.23.1</version>
+ <version>${commons.log4j.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/pom.xml b/pom.xml
index 8cada9de..dc49b874 100644
--- a/pom.xml
+++ b/pom.xml
@@ -564,6 +564,7 @@
<commons.collections.version>4.4</commons.collections.version>
<commons.text.version>1.11.0</commons.text.version>
<commons.lang.version>3.13.0</commons.lang.version>
+ <commons.log4j.version>2.23.1</commons.log4j.version>
<test.type>Unit</test.type>
<doclint>none</doclint>