This is an automated email from the ASF dual-hosted git repository. lhotari pushed a commit to branch branch-3.1 in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit a7d4e20bbaf898f28df57c5128d7e8f00e8771e9 Author: Lari Hotari <[email protected]> AuthorDate: Fri Jun 21 23:06:56 2024 +0300 [fix][misc] Rename netty native libraries in pulsar-client-admin-shaded (#22954) (cherry picked from commit ddb03bb6a3b67ffcc71c7e95a87b35eb302a7393) --- pulsar-client-admin-shaded/pom.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/pulsar-client-admin-shaded/pom.xml b/pulsar-client-admin-shaded/pom.xml index 32aa2012133..59bd1bdfedb 100644 --- a/pulsar-client-admin-shaded/pom.xml +++ b/pulsar-client-admin-shaded/pom.xml @@ -304,6 +304,31 @@ </execution> </executions> </plugin> + + <plugin> + <!-- This plugin is used to run a script after the package phase in order to rename + libnetty_transport_native_epoll_x86_64.so from Netty into + liborg_apache_pulsar_shade_netty_transport_native_epoll_x86_64.so + to reflect the shade that is being applied. + --> + <artifactId>exec-maven-plugin</artifactId> + <groupId>org.codehaus.mojo</groupId> + <executions> + <execution> + <id>rename-epoll-library</id> + <phase>package</phase> + <goals> + <goal>exec</goal> + </goals> + <configuration> + <executable>${project.parent.basedir}/src/${rename.netty.native.libs}</executable> + <arguments> + <argument>${project.artifactId}</argument> + </arguments> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> </project>
