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

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

commit 9da2945630dace67121948d37bde776900d84b2c
Author: yukon <[email protected]>
AuthorDate: Thu Jun 6 21:22:29 2019 +0800

    Add netty epoll to pom
---
 pom.xml                             | 16 ++++++++++++++++
 remoting-core/remoting-impl/pom.xml |  4 ++++
 2 files changed, 20 insertions(+)

diff --git a/pom.xml b/pom.xml
index 3d28b24..84e734b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -72,6 +72,12 @@
                 <version>4.1.26.Final</version>
             </dependency>
             <dependency>
+                <groupId>io.netty</groupId>
+                <artifactId>netty-transport-native-epoll</artifactId>
+                <version>4.1.26.Final</version>
+                
<classifier>${os.detected.name}-${os.detected.arch}</classifier>
+            </dependency>
+            <dependency>
                 <groupId>com.alibaba</groupId>
                 <artifactId>fastjson</artifactId>
                 <version>1.2.51</version>
@@ -108,4 +114,14 @@
             </dependency>
         </dependencies>
     </dependencyManagement>
+
+    <build>
+        <extensions>
+            <extension>
+                <groupId>kr.motd.maven</groupId>
+                <artifactId>os-maven-plugin</artifactId>
+                <version>1.5.0.Final</version>
+            </extension>
+        </extensions>
+    </build>
 </project>
\ No newline at end of file
diff --git a/remoting-core/remoting-impl/pom.xml 
b/remoting-core/remoting-impl/pom.xml
index af463b5..9f868a0 100644
--- a/remoting-core/remoting-impl/pom.xml
+++ b/remoting-core/remoting-impl/pom.xml
@@ -27,6 +27,10 @@
             <artifactId>netty-all</artifactId>
         </dependency>
         <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-transport-native-epoll</artifactId>
+        </dependency>
+        <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-api</artifactId>
         </dependency>

Reply via email to