From f00a4d3e307b89842250358ee432e6800bb24362 Mon Sep 17 00:00:00 2001 From: Nico Korthout Date: Thu, 11 Nov 2021 12:40:44 +0100 Subject: [PATCH] build(atomix): fix netty dependency netty-bom 4.1.70 contains the changes from pull request https://github.com/netty/netty/pull/11798, which moved the classes out of the native modules to make sure the same classes don't end up on the classpath multiple times. For us it means that we need to depend on both the native and classes modules. However, since we don't use the native module directly (only classes that were moved to this classes module), we need to force the dependency plugin to consider the native module as used. --- atomix/cluster/pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/atomix/cluster/pom.xml b/atomix/cluster/pom.xml index a477873aa42b..b6db6950efec 100644 --- a/atomix/cluster/pom.xml +++ b/atomix/cluster/pom.xml @@ -67,6 +67,10 @@ io.netty netty-common + + io.netty + netty-transport-classes-epoll + io.netty netty-transport-native-epoll @@ -278,6 +282,7 @@ uk.co.real-logic:sbe-tool net.jqwik:jqwik io.netty:netty-tcnative-boringssl-static + io.netty:netty-transport-native-epoll