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 committed Nov 11, 2021
1 parent 27a36bd commit f00a4d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions atomix/cluster/pom.xml
Expand Up @@ -67,6 +67,10 @@
<groupId>io.netty</groupId>
<artifactId>netty-common</artifactId>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-classes-epoll</artifactId>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
Expand Down Expand Up @@ -278,6 +282,7 @@
<dependency>uk.co.real-logic:sbe-tool</dependency>
<dependency>net.jqwik:jqwik</dependency>
<dependency>io.netty:netty-tcnative-boringssl-static</dependency>
<dependency>io.netty:netty-transport-native-epoll</dependency>
</usedDependencies>
</configuration>
</plugin>
Expand Down

0 comments on commit f00a4d3

Please sign in to comment.