File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 2424 <artifactId >core</artifactId >
2525 <version >${project.version} </version >
2626 </dependency >
27+ <!-- mongodb-driver-sync defines snappy-java and zstd-jni dependencies as optional.
28+ They need to be repeated here to support compression. See:
29+ https://www.mongodb.com/docs/drivers/java/sync/current/fundamentals/connection/network-compression/ -->
30+ <dependency >
31+ <groupId >org.xerial.snappy</groupId >
32+ <artifactId >snappy-java</artifactId >
33+ <version >${snappy.version} </version >
34+ </dependency >
35+ <dependency >
36+ <groupId >com.github.luben</groupId >
37+ <artifactId >zstd-jni</artifactId >
38+ <version >${zstd.version} </version >
39+ </dependency >
2740 </dependencies >
2841
2942 <build >
Original file line number Diff line number Diff line change 5353 <!-- Properties Management -->
5454 <properties >
5555 <maven .assembly.version>2.2.1</maven .assembly.version>
56+ <!-- mongodb, snappy and zstd versions need to be updated together. see:
57+ https://www.mongodb.com/docs/drivers/java/sync/current/fundamentals/connection/network-compression/ -->
5658 <mongodb .version>4.7.0</mongodb .version>
59+ <snappy .version>1.1.8.4</snappy .version>
60+ <zstd .version>1.5.0-4</zstd .version>
5761 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
5862 <checkstyle .skip>true</checkstyle .skip>
5963 <skip .checkstyle>true</skip .checkstyle>
You can’t perform that action at this time.
0 commit comments