Exclude io/netty/channel/unix/LimitsStaticallyReferencedJniMethods -- needed by 
native code


Project: http://git-wip-us.apache.org/repos/asf/hbase-thirdparty/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase-thirdparty/commit/535b133a
Tree: http://git-wip-us.apache.org/repos/asf/hbase-thirdparty/tree/535b133a
Diff: http://git-wip-us.apache.org/repos/asf/hbase-thirdparty/diff/535b133a

Branch: refs/heads/master
Commit: 535b133abd1aff174140d3aaf50d34ed33e564aa
Parents: 5c72f4b
Author: Michael Stack <st...@apache.org>
Authored: Mon Jun 26 16:41:14 2017 -0700
Committer: Michael Stack <st...@apache.org>
Committed: Mon Jun 26 16:41:14 2017 -0700

----------------------------------------------------------------------
 README.txt                      | 5 +++--
 hbase-shaded-thirdparty/pom.xml | 8 +++++++-
 2 files changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase-thirdparty/blob/535b133a/README.txt
----------------------------------------------------------------------
diff --git a/README.txt b/README.txt
index 09861c1..7675669 100644
--- a/README.txt
+++ b/README.txt
@@ -1,7 +1,8 @@
 This project packages relocated third-party libraries used by Apache HBase.
 
-DISCLAIMER: This is an HBase internal project.  Included libs and/or their
-versions change at the dictate of hbase without regard to others concerns.
+DISCLAIMER: This project is for Apache HBase internal use.  Included libs
+and/or their versions are subject to change at the dictate of hbase without
+regard to the concern of others!
 
 To build, just run:
 

http://git-wip-us.apache.org/repos/asf/hbase-thirdparty/blob/535b133a/hbase-shaded-thirdparty/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-shaded-thirdparty/pom.xml b/hbase-shaded-thirdparty/pom.xml
index 82a0820..c7ce515 100644
--- a/hbase-shaded-thirdparty/pom.xml
+++ b/hbase-shaded-thirdparty/pom.xml
@@ -65,11 +65,17 @@
                 <goal>shade</goal>
               </goals>
               <configuration>
-                <shadeSourcesContent>true</shadeSourcesContent>
                 <relocations>
                   <relocation>
                     <pattern>io.netty</pattern>
                     <shadedPattern>${rename.offset}.io.netty</shadedPattern>
+                    <excludes>
+                      <!--Getting at native code; can't relocate this w/o 
changing c-source
+                           -->
+                      <exclude>
+                        
io.netty.channel.unix.LimitsStaticallyReferencedJniMethods
+                      </exclude>
+                    </excludes>
                   </relocation>
                   <relocation>
                     <pattern>com.google</pattern>

Reply via email to