Skip to content

Commit

Permalink
build(atomix): fix netty dependency
Browse files Browse the repository at this point in the history
netty-bom 4.1.70 contains the changes from pull request
netty/netty#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.
  • Loading branch information
korthout authored and npepinpe committed Jan 15, 2022
1 parent 8582ce7 commit 8391f26
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion atomix/cluster/pom.xml
Expand Up @@ -55,9 +55,13 @@
<groupId>io.netty</groupId>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-classes-epoll</artifactId>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
<classifier>linux-x86_64</classifier>
<groupId>io.netty</groupId>
</dependency>
<dependency>
<artifactId>commons-math3</artifactId>
Expand Down Expand Up @@ -256,6 +260,7 @@
<!-- dependency used but plugin seems to report a false positive here -->
<dependency>uk.co.real-logic:sbe-tool</dependency>
<dependency>net.jqwik:jqwik</dependency>
<dependency>io.netty:netty-transport-native-epoll</dependency>
</usedDependencies>
</configuration>
</plugin>
Expand Down

0 comments on commit 8391f26

Please sign in to comment.