From 4fb36f4994b3c552bdc38f46130f47608d045920 Mon Sep 17 00:00:00 2001
From: Gokul Nagare <gonagar1@in.ibm.com>
Date: Fri, 7 Jan 2022 14:19:07 +0000
Subject: [PATCH] Vuln fix lucene

---
 provider/notification-ibm/pom.xml | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/provider/notification-ibm/pom.xml b/provider/notification-ibm/pom.xml
index a48f8d8cc..daa6e0a5b 100644
--- a/provider/notification-ibm/pom.xml
+++ b/provider/notification-ibm/pom.xml
@@ -45,8 +45,27 @@
             <groupId>org.opengroup.osdu</groupId>
             <artifactId>os-core-lib-ibm</artifactId>
             <version>0.13.0-rc6</version>
+            <exclusions>
+            	<exclusion>
+            		<groupId>org.apache.lucene</groupId>
+            		<artifactId>lucene-core</artifactId>
+            	</exclusion>
+            	<exclusion>
+            		<groupId>org.yaml</groupId>
+            		<artifactId>snakeyaml</artifactId>
+            	</exclusion>
+            </exclusions>
         </dependency>
-
+        <dependency>
+        	<groupId>org.yaml</groupId>
+            <artifactId>snakeyaml</artifactId>
+            <version>1.26</version>
+        </dependency>
+		<dependency>
+			<groupId>org.apache.lucene</groupId>
+            <artifactId>lucene-core</artifactId>
+            <version>8.10.0</version>
+		</dependency>
         <dependency>
             <groupId>org.opengroup.osdu</groupId>
             <artifactId>notification-core</artifactId>
-- 
GitLab