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

veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git

commit 859a903c11cbffb426c31f05bee798eb282f2ae1
Author: Andreas Veithen <andreas.veit...@gmail.com>
AuthorDate: Sun Dec 10 12:09:58 2023 +0000

    Manage Log4j dependencies using their BOM
---
 pom.xml | 22 ++++------------------
 1 file changed, 4 insertions(+), 18 deletions(-)

diff --git a/pom.xml b/pom.xml
index 8a656f2e86..b49097f7b2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -485,7 +485,6 @@
         <jaxbri.version>4.0.3</jaxbri.version>
         <jetty.version>10.0.18</jetty.version>
         <jibx.version>1.4.2</jibx.version>
-        <log4j2.version>2.20.0</log4j2.version>
         <maven.archiver.version>3.6.0</maven.archiver.version>
         <maven.version>3.9.6</maven.version>
         <rhino.version>1.6R7</rhino.version>
@@ -734,11 +733,6 @@
                 <artifactId>slf4j-jdk14</artifactId>
                 <version>${slf4j.version}</version>
             </dependency>
-            <dependency>
-                <groupId>org.apache.logging.log4j</groupId>
-                <artifactId>log4j-slf4j-impl</artifactId>
-                <version>${log4j2.version}</version>
-            </dependency>
             <dependency>
                 <groupId>jakarta.mail</groupId>
                 <artifactId>jakarta.mail-api</artifactId>
@@ -890,18 +884,10 @@
             </dependency>
             <dependency>
                 <groupId>org.apache.logging.log4j</groupId>
-                <artifactId>log4j-jcl</artifactId>
-                <version>${log4j2.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.logging.log4j</groupId>
-                <artifactId>log4j-api</artifactId>
-                <version>${log4j2.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.logging.log4j</groupId>
-                <artifactId>log4j-core</artifactId>
-                <version>${log4j2.version}</version>
+                <artifactId>log4j-bom</artifactId>
+                <version>2.20.0</version>
+                <type>pom</type>
+                <scope>import</scope>
             </dependency>
             <dependency>
                 <groupId>osgi.bundle</groupId>

Reply via email to