Remove Kafka version, reference from integration 57/130057/2
authorSirisha_Manchikanti <sirisha.manchikanti@est.tech>
Thu, 28 Jul 2022 14:14:17 +0000 (15:14 +0100)
committerSirisha Manchikanti <sirisha.manchikanti@est.tech>
Fri, 29 Jul 2022 14:42:18 +0000 (14:42 +0000)
Issue-ID: POLICY-4313
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: Ia07c5e9cb4ef29ac0110106228f0c1fa3df947a8

plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-kafka/pom.xml
pom.xml

index 2c7fd98..aae839a 100644 (file)
         <dependency>
             <groupId>org.apache.kafka</groupId>
             <artifactId>kafka-clients</artifactId>
-            <version>${version.kafka}</version>
-            <exclusions>
-                <!-- The default Zookeeper version in Kafka has vulnerabilities -->
-                <exclusion>
-                    <groupId>org.apache.zookeeper</groupId>
-                    <artifactId>zookeeper</artifactId>
-                </exclusion>
-            </exclusions>
+            <scope>provided</scope>
         </dependency>
     </dependencies>
 </project>
diff --git a/pom.xml b/pom.xml
index 188c576..57bae30 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -43,7 +43,6 @@
         <encoding>UTF-8</encoding>
         <file.encoding>UTF-8</file.encoding>
         <version.commons-cli>1.4</version.commons-cli>
-        <version.kafka>3.0.0</version.kafka>
         <version.hibernate>5.3.7.Final</version.hibernate>
         <version.policy.common>1.11.0-SNAPSHOT</version.policy.common>
         <version.policy.models>2.7.0-SNAPSHOT</version.policy.models>