hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ecl...@apache.org
Subject hbase git commit: HBASE-13889 Fix hbase-shaded-client artifact so it works on hbase-downstreamer
Date Tue, 11 Aug 2015 23:55:20 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.1 dc19c200b -> ac7bc7ab3


HBASE-13889 Fix hbase-shaded-client artifact so it works on hbase-downstreamer


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

Branch: refs/heads/branch-1.1
Commit: ac7bc7ab3ed7baab0288d4de59c103fb9089bc59
Parents: dc19c20
Author: Elliott Clark <eclark@apache.org>
Authored: Mon Aug 10 18:04:17 2015 -0700
Committer: Elliott Clark <eclark@apache.org>
Committed: Tue Aug 11 16:54:00 2015 -0700

----------------------------------------------------------------------
 hbase-shaded/pom.xml | 176 +++++++++++++++++++++++++++++++++++++++++-----
 pom.xml              |   2 +-
 2 files changed, 160 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/ac7bc7ab/hbase-shaded/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-shaded/pom.xml b/hbase-shaded/pom.xml
index 923d180..1859e1f 100644
--- a/hbase-shaded/pom.xml
+++ b/hbase-shaded/pom.xml
@@ -116,10 +116,8 @@
                                 <shadedArtifactAttached>false</shadedArtifactAttached>
                                 <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
                                 <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
+                                <shadeTestJar>true</shadeTestJar>
                                 <artifactSet>
-                                    <includes>
-                                        <include>*:*</include>
-                                    </includes>
                                     <excludes>
                                         <exclude>org.apache.hbase:hbase-resource-bundle</exclude>
                                         <exclude>org.slf4j:*</exclude>
@@ -129,31 +127,175 @@
                                         <exclude>log4j:*</exclude>
                                         <exclude>commons-logging:*</exclude>
                                     </excludes>
-
                                 </artifactSet>
                                 <relocations>
+                                    <!-- top level com not including sun-->
+                                    <relocation>
+                                        <pattern>com.google</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.com.google</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>com.jcraft</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.com.jcraft</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>com.thoughtworks</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.com.thoughtworks</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>com.jamesmurty</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.com.jamesmurty</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>com.lmax</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.com.lmax</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>com.yammer</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.com.yammer</shadedPattern>
+                                    </relocation>
+
+                                    <!-- top level io -->
+                                    <relocation>
+                                        <pattern>io.netty</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.io.netty</shadedPattern>
+                                    </relocation>
+
+                                    <!-- top level org -->
+                                    <relocation>
+                                        <pattern>org.codehaus</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.codehaus</shadedPattern>
+                                    </relocation>
                                     <relocation>
-                                        <pattern>com</pattern>
-                                        <shadedPattern>org.apache.hadoop.hbase.shaded.com</shadedPattern>
+                                        <pattern>org.jcodings</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.jcodings</shadedPattern>
                                     </relocation>
                                     <relocation>
-                                        <pattern>net</pattern>
-                                        <shadedPattern>org.apache.hadoop.hbase.shaded.net</shadedPattern>
+                                        <pattern>org.joni</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.joni</shadedPattern>
                                     </relocation>
                                     <relocation>
-                                        <pattern>javax</pattern>
-                                        <shadedPattern>org.apache.hadoop.hbase.shaded.javax</shadedPattern>
+                                        <pattern>org.mortbay</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.mortbay</shadedPattern>
                                     </relocation>
                                     <relocation>
-                                        <pattern>io</pattern>
-                                        <shadedPattern>org.apache.hadoop.hbase.shaded.io</shadedPattern>
+                                        <pattern>org.tukaani</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.tukaani</shadedPattern>
                                     </relocation>
                                     <relocation>
-                                        <pattern>org</pattern>
-                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org</shadedPattern>
-                                        <excludes>
-                                            <exclude>org.apache.hadoop.**</exclude>
-                                        </excludes>
+                                        <pattern>org.xerial</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.xerial</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.znerd</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.znerd</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.aopalliance</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.aopalliance</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.fusesource</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.fusesource</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.iq80</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.iq80</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.jamon</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.jamon</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.jets3t</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.jets3t</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.objectweb</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.objectweb</shadedPattern>
+                                    </relocation>
+
+
+                                    <!-- org.apache relocations not in org.apache.hadoop
or org.apache.commons -->
+                                    <relocation>
+                                        <pattern>org.apache.avro</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.avro</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.directory</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.directory</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.http</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.http</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.jute</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.jute</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.zookeeper</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.zookeeper</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.jasper</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.jasper</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.taglibs</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons</shadedPattern>
+                                    </relocation>
+
+                                    <!-- org.apache.commons not including logging -->
+                                    <relocation>
+                                        <pattern>org.apache.commons.beanutils</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.beanutils</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.commons.cli</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.cli</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.commons.collections</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.collections</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.commons.configuration</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.configuration</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.commons.daemon</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.daemon</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.commons.io</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.io</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.commons.math</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.math</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.commons.math3</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.math3</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.commons.net</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.net</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.commons.lang</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.lang</shadedPattern>
+                                    </relocation>
+                                    <relocation>
+                                        <pattern>org.apache.commons.el</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.org.apache.commons.el</shadedPattern>
+                                    </relocation>
+
+                                    <!-- top level net-->
+                                    <relocation>
+                                        <pattern>net.iharder</pattern>
+                                        <shadedPattern>org.apache.hadoop.hbase.shaded.net.iharder</shadedPattern>
                                     </relocation>
                                 </relocations>
                                 <transformers>

http://git-wip-us.apache.org/repos/asf/hbase/blob/ac7bc7ab/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e6cc28b..06ebc92 100644
--- a/pom.xml
+++ b/pom.xml
@@ -460,7 +460,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-shade-plugin</artifactId>
-          <version>2.3</version>
+          <version>2.4.1</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>


Mime
View raw message