You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by bi...@apache.org on 2017/02/07 09:02:51 UTC

kylin git commit: KYLIN-2428 fix tool shade

Repository: kylin
Updated Branches:
  refs/heads/KYLIN-2428 96a415927 -> 6fd11fad5


KYLIN-2428 fix tool shade


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

Branch: refs/heads/KYLIN-2428
Commit: 6fd11fad52893c55ead470164485a0695365d4e7
Parents: 96a4159
Author: Billy Liu <bi...@apache.org>
Authored: Tue Feb 7 17:02:34 2017 +0800
Committer: Billy Liu <bi...@apache.org>
Committed: Tue Feb 7 17:02:34 2017 +0800

----------------------------------------------------------------------
 tool/pom.xml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/6fd11fad/tool/pom.xml
----------------------------------------------------------------------
diff --git a/tool/pom.xml b/tool/pom.xml
index 91040d4..b2f1d56 100644
--- a/tool/pom.xml
+++ b/tool/pom.xml
@@ -54,6 +54,23 @@
             <artifactId>kylin-source-hive</artifactId>
         </dependency>
 
+        <!-- As KylinConfigCLI will be called before any dependency loaded, has to define the following as compile in tool -->
+        <dependency>
+            <groupId>com.google.guava</groupId>
+            <artifactId>guava</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>commons-lang</groupId>
+            <artifactId>commons-lang</artifactId>
+            <scope>compile</scope>
+        </dependency>
+
         <!--Env-->
         <dependency>
             <groupId>org.apache.hbase</groupId>
@@ -100,6 +117,9 @@
                                 <includes>
                                     <!-- shade the httpcore to avoid the lower version conflict with HBase one -->
                                     <include>org.apache.httpcomponents:httpcore</include>
+                                    <include>commons-io:commons-io</include>
+                                    <include>commons-lang:commons-lang</include>
+                                    <include>com.google.guava:guava</include>
                                     <include>org.apache.kylin:kylin-tool</include>
                                 </includes>
                             </artifactSet>