You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by sz...@apache.org on 2021/11/30 11:52:55 UTC
[ratis-thirdparty] branch master updated: RATIS-1443 Shade all Netty Native libraries (#21)
This is an automated email from the ASF dual-hosted git repository.
szetszwo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis-thirdparty.git
The following commit(s) were added to refs/heads/master by this push:
new f2455a6 RATIS-1443 Shade all Netty Native libraries (#21)
f2455a6 is described below
commit f2455a69fc575cdbb3f4c1a6bc071827641932a2
Author: Martin Grigorov <ma...@users.noreply.github.com>
AuthorDate: Tue Nov 30 13:52:47 2021 +0200
RATIS-1443 Shade all Netty Native libraries (#21)
---
misc/pom.xml | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/misc/pom.xml b/misc/pom.xml
index 1a9da0a..a403b65 100644
--- a/misc/pom.xml
+++ b/misc/pom.xml
@@ -154,11 +154,22 @@
<filter>
<artifact>io.netty:netty-tcnative-boringssl-static</artifact>
<excludes>
+ <exclude>META-INF/native/libnetty_tcnative_linux_aarch_64.so</exclude>
<exclude>META-INF/native/libnetty_tcnative_linux_x86_64.so</exclude>
<exclude>META-INF/native/netty_tcnative_windows_x86_64.dll</exclude>
<exclude>META-INF/native/libnetty_tcnative_osx_x86_64.jnilib</exclude>
</excludes>
</filter>
+ <filter>
+ <artifact>io.netty:netty-all</artifact>
+ <excludes>
+ <exclude>META-INF/native/libnetty_resolver_dns_native_macos_x86_64.jnilib</exclude>
+ <exclude>META-INF/native/libnetty_transport_native_kqueue_x86_64.jnilib</exclude>
+ <exclude>META-INF/native/libnetty_transport_native_epoll_x86_64.so</exclude>
+ <exclude>META-INF/native/libnetty_transport_native_epoll_aarch_64.so</exclude>
+ <exclude>META-INF/native/libnetty_resolver_dns_native_macos_x86_64.jnilib</exclude>
+ </excludes>
+ </filter>
</filters>
<artifactSet>
<includes>
@@ -232,6 +243,18 @@
<configuration>
<fileSets>
<fileSet>
+ <sourceFile>${project.build.directory}/classes/META-INF/native/libnetty_resolver_dns_native_macos_x86_64.jnilib</sourceFile>
+ <destinationFile>${project.build.directory}/classes/META-INF/native/lib${ratis.thirdparty.shaded.native.prefix}netty_resolver_dns_native_macos_x86_64.jnilib</destinationFile>
+ </fileSet>
+ <fileSet>
+ <sourceFile>${project.build.directory}/classes/META-INF/native/libnetty_tcnative_linux_aarch_64.so</sourceFile>
+ <destinationFile>${project.build.directory}/classes/META-INF/native/lib${ratis.thirdparty.shaded.native.prefix}netty_tcnative_linux_aarch_64.so</destinationFile>
+ </fileSet>
+ <fileSet>
+ <sourceFile>${project.build.directory}/classes/META-INF/native/libnetty_transport_native_epoll_aarch_64.so</sourceFile>
+ <destinationFile>${project.build.directory}/classes/META-INF/native/lib${ratis.thirdparty.shaded.native.prefix}netty_transport_native_epoll_aarch_64.so</destinationFile>
+ </fileSet>
+ <fileSet>
<sourceFile>${project.build.directory}/classes/META-INF/native/libnetty_tcnative_linux_x86_64.so</sourceFile>
<destinationFile>${project.build.directory}/classes/META-INF/native/lib${ratis.thirdparty.shaded.native.prefix}netty_tcnative_linux_x86_64.so</destinationFile>
</fileSet>