Skip to content

Commit

Permalink
[fix][misc] Rename netty native libraries in pulsar-client-admin-shad…
Browse files Browse the repository at this point in the history
…ed (apache#22954)

(cherry picked from commit ddb03bb)
(cherry picked from commit a7d4e20)
  • Loading branch information
lhotari authored and srinath-ctds committed Jul 1, 2024
1 parent d8ddba4 commit c4ab0b8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pulsar-client-admin-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit c4ab0b8

Please sign in to comment.