Skip to content

Commit c6eb23c

Browse files
Merge branch '0.4.x' into 0.5.x by shaikzakiriitm
2 parents 37b2670 + c1b441d commit c6eb23c

File tree

1 file changed

+30
-5
lines changed

1 file changed

+30
-5
lines changed

pom.xml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<junit.version>4.12</junit.version>
3737
<guava.version>32.0.1-jre</guava.version>
3838
<avro.version>1.8.1</avro.version>
39+
<jackson.version>2.15.2</jackson.version>
3940
<maven.release.plugin.version>2.5.3</maven.release.plugin.version>
4041
<!-- temporary fix by pinning the version until we upgrade to a version of common that contains this or newer version.
4142
See https://github.com/confluentinc/common/pull/332 for details -->
@@ -90,6 +91,35 @@
9091
</pluginRepository>
9192
</pluginRepositories>
9293

94+
95+
<!-- pin transitive dependencies for CVEs -->
96+
<dependencyManagement>
97+
<dependencies>
98+
<dependency>
99+
<groupId>com.google.guava</groupId>
100+
<artifactId>guava</artifactId>
101+
<version>${guava.version}</version>
102+
</dependency>
103+
<dependency>
104+
<groupId>org.apache.httpcomponents</groupId>
105+
<artifactId>httpclient</artifactId>
106+
<version>${httpclient.version}</version>
107+
</dependency>
108+
<dependency>
109+
<groupId>com.fasterxml.jackson</groupId>
110+
<artifactId>jackson-bom</artifactId>
111+
<version>${jackson.version}</version>
112+
<type>pom</type>
113+
<scope>import</scope>
114+
</dependency>
115+
<dependency>
116+
<groupId>org.xerial.snappy</groupId>
117+
<artifactId>snappy-java</artifactId>
118+
<version>1.1.10.3</version>
119+
</dependency>
120+
</dependencies>
121+
</dependencyManagement>
122+
93123
<dependencies>
94124
<dependency>
95125
<groupId>org.apache.kafka</groupId>
@@ -111,11 +141,6 @@
111141
</exclusion>
112142
</exclusions>
113143
</dependency>
114-
<dependency>
115-
<groupId>com.google.guava</groupId>
116-
<artifactId>guava</artifactId>
117-
<version>${guava.version}</version>
118-
</dependency>
119144
<dependency>
120145
<groupId>junit</groupId>
121146
<artifactId>junit</artifactId>

0 commit comments

Comments
 (0)