You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2019/03/30 20:08:24 UTC

[hbase-thirdparty] branch master updated: HBASE-22137 [hbase-thirdparty] RC0 doesn't include google.protobuf so fails PB generation if you try to use it.

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

stack pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase-thirdparty.git


The following commit(s) were added to refs/heads/master by this push:
     new f0897e6  HBASE-22137 [hbase-thirdparty] RC0 doesn't include google.protobuf so fails PB generation if you try to use it.
f0897e6 is described below

commit f0897e682114f691ce2b1116e0f8892d6de6500b
Author: stack <st...@apache.org>
AuthorDate: Sat Mar 30 13:06:51 2019 -0700

    HBASE-22137 [hbase-thirdparty] RC0 doesn't include google.protobuf so fails PB generation if you try to use it.
---
 hbase-shaded-protobuf/pom.xml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/hbase-shaded-protobuf/pom.xml b/hbase-shaded-protobuf/pom.xml
index 4545cd8..bdc7c8c 100644
--- a/hbase-shaded-protobuf/pom.xml
+++ b/hbase-shaded-protobuf/pom.xml
@@ -162,6 +162,9 @@
                     <exclude>com.google.errorprone.annotations.CanIgnoreReturnValue</exclude>
                   </excludes>
                 </relocation>
+                <!-- Our protos depend on the protos at this location.
+                     TODO: We should move off depending on them and then
+                     put this filter into place. See HBASE-22137.
                 <relocation>
                   <pattern>google.protobuf</pattern>
                   <shadedPattern>${rename.offset}.google.protobuf</shadedPattern>
@@ -169,12 +172,8 @@
                     <exclude>com.google.errorprone.annotations.CanIgnoreReturnValue</exclude>
                   </excludes>
                 </relocation>
+                -->
               </relocations>
-              <artifactSet>
-                <excludes>
-                  <exclude>com.google.*:*</exclude>
-                </excludes>
-              </artifactSet>
             </configuration>
           </execution>
         </executions>