From ec145be5baea8e791fd21191164f17f6422bfec1 Mon Sep 17 00:00:00 2001
From: David Diederich <d.diederich@opengroup.org>
Date: Tue, 1 Feb 2022 07:28:48 -1000
Subject: [PATCH] Adding explicit log4j versions in the dependencyManagement
 section

---
 pom.xml                          |  1 +
 provider/partition-azure/pom.xml | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/pom.xml b/pom.xml
index 72b1011e5..3778a5e45 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,6 +28,7 @@
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <os-core-common.version>0.13.0</os-core-common.version>
     <org.springframework.boot.version>2.4.5</org.springframework.boot.version>
+    <log4j.version>2.17.1</log4j.version>
   </properties>
 
   <packaging>pom</packaging>
diff --git a/provider/partition-azure/pom.xml b/provider/partition-azure/pom.xml
index 4aac58ccf..d5fc1bc0d 100644
--- a/provider/partition-azure/pom.xml
+++ b/provider/partition-azure/pom.xml
@@ -30,6 +30,31 @@
         <type>pom</type>
         <scope>import</scope>
       </dependency>
+      <dependency>
+          <groupId>org.apache.logging.log4j</groupId>
+          <artifactId>log4j-slf4j-impl</artifactId>
+          <version>${log4j.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.apache.logging.log4j</groupId>
+          <artifactId>log4j-to-slf4j</artifactId>
+          <version>${log4j.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.apache.logging.log4j</groupId>
+          <artifactId>log4j-api</artifactId>
+          <version>${log4j.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.apache.logging.log4j</groupId>
+          <artifactId>log4j-core</artifactId>
+          <version>${log4j.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.apache.logging.log4j</groupId>
+          <artifactId>log4j-jul</artifactId>
+          <version>${log4j.version}</version>
+      </dependency>
     </dependencies>
   </dependencyManagement>
 
-- 
GitLab