diff --git a/transport-native-epoll/pom.xml b/transport-native-epoll/pom.xml
index 98f8af5a37..c6c6193dac 100644
--- a/transport-native-epoll/pom.xml
+++ b/transport-native-epoll/pom.xml
@@ -181,6 +181,7 @@
META-INF/native/libnetty_transport_native_epoll_${os.detected.arch}.so; osname=Linux; processor=${os.detected.arch},*
+ ${javaModuleName}
true
${project.build.outputDirectory}/META-INF/MANIFEST.MF
diff --git a/transport-native-kqueue/pom.xml b/transport-native-kqueue/pom.xml
index 7205ff89f9..f9370cb63e 100644
--- a/transport-native-kqueue/pom.xml
+++ b/transport-native-kqueue/pom.xml
@@ -111,6 +111,7 @@
META-INF/native/libnetty_transport_native_kqueue_${os.detected.arch}.jnilib; osname=MacOSX, processor=${os.detected.arch}"
+ ${javaModuleName}
true
${project.build.outputDirectory}/META-INF/MANIFEST.MF