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

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


The following commit(s) were added to refs/heads/master by this push:
     new 00612106b5f HBASE-27292. Fix build failure against Hadoop 3.3.4 due to 
added dependency on okhttp. (#4687)
00612106b5f is described below

commit 00612106b5fa78a0dd198cbcaab610bd8b1be277
Author: Masatake Iwasaki <[email protected]>
AuthorDate: Wed Aug 10 22:38:25 2022 +0900

    HBASE-27292. Fix build failure against Hadoop 3.3.4 due to added dependency 
on okhttp. (#4687)
    
    Signed-off-by: Duo Zhang <[email protected]>
---
 hbase-shaded/pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/hbase-shaded/pom.xml b/hbase-shaded/pom.xml
index 59fd7301e46..c2feaefae62 100644
--- a/hbase-shaded/pom.xml
+++ b/hbase-shaded/pom.xml
@@ -413,6 +413,15 @@
                     <pattern>org.agrona</pattern>
                     <shadedPattern>${shaded.prefix}.org.agrona</shadedPattern>
                   </relocation>
+                  <!-- okhttp -->
+                  <relocation>
+                    <pattern>okhttp3.</pattern>
+                    <shadedPattern>${shaded.prefix}.okhttp3.</shadedPattern>
+                  </relocation>
+                  <relocation>
+                    <pattern>kotlin.</pattern>
+                    <shadedPattern>${shaded.prefix}.kotlin.</shadedPattern>
+                  </relocation>
                 </relocations>
                 <transformers>
                   <!-- Need to filter out some extraneous license files.

Reply via email to