Skip to content

Commit 202cd8b

Browse files
authored
Remove OrientDB's snappy dependency to get rid of native access warning (#121)
1 parent fb90b52 commit 202cd8b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

openidm-repo-orientdb/pom.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@
8181
<groupId>com.orientechnologies</groupId>
8282
<artifactId>orientdb-core</artifactId>
8383
<version>${orientdb.version}</version>
84+
<exclusions>
85+
<exclusion>
86+
<groupId>org.xerial.snappy</groupId>
87+
<artifactId>snappy-java</artifactId>
88+
</exclusion>
89+
</exclusions>
8490
</dependency>
8591
<dependency>
8692
<groupId>com.orientechnologies</groupId>
@@ -108,11 +114,6 @@
108114
<artifactId>jna-platform</artifactId>
109115
<version>5.14.0</version>
110116
</dependency>
111-
<dependency>
112-
<groupId>org.xerial.snappy</groupId>
113-
<artifactId>snappy-java</artifactId>
114-
<version>1.1.10.5</version>
115-
</dependency>
116117
<!-- <dependency>
117118
<groupId>javax.persistence</groupId>
118119
<artifactId>persistence-api</artifactId>

openidm-repo-orientdb/src/test/resources/config/repo.orientdb.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
"memory.optimizeThreshold" : "0.7",
340340
"jvm.gc.delayForOptimize" : "600",
341341
"storage.diskCache.bufferSize" : "2048",
342-
"storage.compressionMethod" : "snappy",
342+
"storage.compressionMethod" : "gzip",
343343
"storage.useWAL" : "true",
344344
"storage.wal.cacheSize" : "3000",
345345
"storage.wal.maxSegmentSize" : "51200",

openidm-zip/src/main/resources/bin/launcher.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"**/*openidm-jetty-fragment*.jar",
3030
"**/*openidm-quartz-fragment*.jar",
3131
"**/*openidm-config*.jar",
32-
"**/*snappy-java*.jar",
3332
"**/*openidm-httpclient-fragment*.jar"
3433
],
3534
"start-level":3,

0 commit comments

Comments
 (0)