You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2024/06/24 05:28:37 UTC

(pulsar) branch branch-3.3 updated: [fix][misc] Rename netty native libraries in pulsar-client-admin-shaded (#22954)

This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new 50138c83673 [fix][misc] Rename netty native libraries in pulsar-client-admin-shaded (#22954)
50138c83673 is described below

commit 50138c83673563cc3688e9c92dd07e0ad3e80c9f
Author: Lari Hotari <lh...@users.noreply.github.com>
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 d346376871b..55d2871244c 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>