Repository: incubator-ratis
Updated Branches:
  refs/heads/master 2373a4a08 -> 5ebe83e87


RATIS-78. Ratis does not compile in Intellij. Contributed by Jing Zhao


Project: http://git-wip-us.apache.org/repos/asf/incubator-ratis/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ratis/commit/5ebe83e8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ratis/tree/5ebe83e8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ratis/diff/5ebe83e8

Branch: refs/heads/master
Commit: 5ebe83e872b33c4a650e810f43f07fa93eee908d
Parents: 2373a4a
Author: Tsz-Wo Nicholas Sze <[email protected]>
Authored: Tue Apr 25 23:43:10 2017 +0800
Committer: Tsz-Wo Nicholas Sze <[email protected]>
Committed: Tue Apr 25 23:43:10 2017 +0800

----------------------------------------------------------------------
 ratis-proto-shaded/pom.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/5ebe83e8/ratis-proto-shaded/pom.xml
----------------------------------------------------------------------
diff --git a/ratis-proto-shaded/pom.xml b/ratis-proto-shaded/pom.xml
index 7db8eee..ef69cf8 100644
--- a/ratis-proto-shaded/pom.xml
+++ b/ratis-proto-shaded/pom.xml
@@ -34,9 +34,18 @@
     <shaded.grpc.version>1.0.1</shaded.grpc.version>
     <!--Version of Netty to be shaded -->
     <shaded.netty.version>4.1.3.Final</shaded.netty.version>
+    <tcnative.version>1.1.33.Fork19</tcnative.version>
   </properties>
 
   <build>
+    <extensions>
+      <!-- Use os-maven-plugin to initialize the "os.detected" properties -->
+      <extension>
+        <groupId>kr.motd.maven</groupId>
+        <artifactId>os-maven-plugin</artifactId>
+        <version>1.4.0.Final</version>
+      </extension>
+    </extensions>
     <!--I want to override these in profile so define them
          with variables up here-->
     <sourceDirectory>${shaded.sources.dir}</sourceDirectory>
@@ -277,6 +286,15 @@
     </dependency>
 
     <dependency>
+      <groupId>io.netty</groupId>
+      <artifactId>netty-tcnative</artifactId>
+      <version>${tcnative.version}</version>
+      <classifier>${os.detected.classifier}</classifier>
+      <scope>compile</scope>
+      <optional>true</optional>
+    </dependency>
+
+    <dependency>
       <groupId>org.jboss.marshalling</groupId>
       <artifactId>jboss-marshalling</artifactId>
       <scope>compile</scope>

Reply via email to