diff --git a/pom.xml b/pom.xml
index 6034e06..0a90dbb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,6 +63,17 @@
+
+ base-compile
+
+
+ 17
+
+ -Werror
+ -Xlint:all
+
+
+
diff --git a/tool/pom.xml b/tool/pom.xml
index 2959395..026d25a 100644
--- a/tool/pom.xml
+++ b/tool/pom.xml
@@ -29,7 +29,7 @@
net.java.dev.jna
- jna-platform
+ jna-platform-jpms
5.15.0