You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by aa...@apache.org on 2022/06/28 11:42:31 UTC

[rocketmq-clients] 03/03: Java: correct path of shaded netty native file

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

aaronai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git

commit 3e7572407040f9f7477fdc303a914ead9a47c96d
Author: Aaron Ai <ya...@gmail.com>
AuthorDate: Tue Jun 28 19:40:55 2022 +0800

    Java: correct path of shaded netty native file
---
 java/client-shade/pom.xml |  6 ++++++
 java/pom.xml              | 11 +++++++++++
 2 files changed, 17 insertions(+)

diff --git a/java/client-shade/pom.xml b/java/client-shade/pom.xml
index 9c1f03f..e945103 100644
--- a/java/client-shade/pom.xml
+++ b/java/client-shade/pom.xml
@@ -191,6 +191,12 @@
                                 <move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_transport_native_epoll_x86_64.so"
                                       tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_transport_native_epoll_x86_64.so"/>
 
+                                <move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_tcnative_osx_aarch_64.jnilib"
+                                      tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_tcnative_osx_aarch_64.jnilib"/>
+
+                                <move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_transport_native_epoll_aarch_64.so"
+                                      tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_transport_native_epoll_aarch_64.so"/>
+
                                 <jar destfile="${project.build.directory}/${shadeJarName}"
                                      basedir="${classesShadedDir}"/>
                                 <!-- <delete dir="${classesShadedDir}"/> -->
diff --git a/java/pom.xml b/java/pom.xml
index 529410c..6019e28 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -225,6 +225,17 @@
         </dependencies>
     </dependencyManagement>
 
+    <distributionManagement>
+        <repository>
+            <id>releases</id>
+            <url>http://mvnrepo.alibaba-inc.com/mvn/releases</url>
+        </repository>
+        <snapshotRepository>
+            <id>snapshots</id>
+            <url>http://mvnrepo.alibaba-inc.com/mvn/snapshots</url>
+        </snapshotRepository>
+    </distributionManagement>
+
     <build>
         <plugins>
             <plugin>