Skip to content

Commit 22e42f4

Browse files
committed
[snowflakedb#589] Experiment with upgrading netty to JDK11+
1 parent 27788f0 commit 22e42f4

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

pom.xml

+26-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<jsoup.version>1.14.2</jsoup.version>
4343
<tika.version>1.22</tika.version>
4444
<jackson.version>2.12.1</jackson.version>
45+
<netty.version>4.1.72.Final</netty.version>
4546
<jacksondatabind.version>2.12.1</jacksondatabind.version>
4647
<!-- Caution: version 4.5.12 and onward of apache httpclient causes a regression in recognizing S3 certificates (SNOW-259063) -->
4748
<httpclient.version>4.5.11</httpclient.version>
@@ -78,6 +79,22 @@
7879
<groupId>com.nimbusds</groupId>
7980
<artifactId>nimbus-jose-jwt</artifactId>
8081
<version>8.0</version>
82+
<exclusions>
83+
<exclusion> <!-- exclude earlier versions of json-smart due to multiple vulnerabilities -->
84+
<groupId>net.minidev</groupId>
85+
<artifactId>json-smart</artifactId>
86+
</exclusion>
87+
</exclusions>
88+
</dependency>
89+
<dependency>
90+
<groupId>io.netty</groupId>
91+
<artifactId>netty-buffer</artifactId>
92+
<version>${netty.version}</version>
93+
</dependency>
94+
<dependency>
95+
<groupId>io.netty</groupId>
96+
<artifactId>netty-common</artifactId>
97+
<version>${netty.version}</version>
8198
</dependency>
8299
<dependency>
83100
<groupId>org.apache.maven.plugins</groupId>
@@ -189,7 +206,7 @@
189206
<dependency>
190207
<groupId>net.minidev</groupId>
191208
<artifactId>json-smart</artifactId>
192-
<version>2.4.5</version>
209+
<version>2.4.7</version>
193210
</dependency>
194211
<dependency>
195212
<groupId>org.apache.commons</groupId>
@@ -290,6 +307,14 @@
290307
<groupId>commons-codec</groupId>
291308
<artifactId>commons-codec</artifactId>
292309
</exclusion>
310+
<exclusion>
311+
<groupId>io.netty</groupId>
312+
<artifactId>netty-buffer</artifactId>
313+
</exclusion>
314+
<exclusion>
315+
<groupId>io.netty</groupId>
316+
<artifactId>netty-common</artifactId>
317+
</exclusion>
293318
</exclusions>
294319
</dependency>
295320
<dependency>

0 commit comments

Comments
 (0)