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)
  • Loading branch information
lhotari authored Jun 21, 2024
1 parent 1517e63 commit ddb03bb
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 ddb03bb

Please sign in to comment.