Update log4j version due to security vulnerability for CPS Temporal 55/126255/3
authorniamhcore <niamh.core@est.tech>
Wed, 15 Dec 2021 11:44:41 +0000 (11:44 +0000)
committerniamhcore <niamh.core@est.tech>
Wed, 15 Dec 2021 13:22:25 +0000 (13:22 +0000)
This change excludes old log4j libraries and includes newer versions
that are not tagged with a security vulnerability.

Issue-ID: CPS-820
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I209de398df3756d335e7fae4bf6ffb90fbfe334a

pom.xml

diff --git a/pom.xml b/pom.xml
index 957be6c..15c62a3 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
+            <dependency>
+                <groupId>org.apache.logging.log4j</groupId>
+                <artifactId>log4j-api</artifactId>
+                <version>2.16.0</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.logging.log4j</groupId>
+                <artifactId>log4j-to-slf4j</artifactId>
+                <version>2.16.0</version>
+            </dependency>
         </dependencies>
     </dependencyManagement>