diff --git a/java/rocksjni.pom b/java/rocksjni.pom
index 7187523cb..0512df63e 100644
--- a/java/rocksjni.pom
+++ b/java/rocksjni.pom
@@ -61,6 +61,11 @@
2.18.1
${argLine} -ea -Xcheck:jni -Djava.library.path=${project.build.directory}
+ false
+ false
+
+ ${project.build.directory}/*
+