You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by xx...@apache.org on 2021/05/08 04:08:38 UTC

[kylin] 01/04: KYLIN-4591 exclude external module

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

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

commit d45038077eb6235cfd2c405491fa31600f80deb2
Author: nichunen <ni...@apache.org>
AuthorDate: Tue Apr 13 12:42:28 2021 +0000

    KYLIN-4591 exclude external module
---
 build/bin/set-kylin-home.sh | 18 ++++++++++++++++++
 pom.xml                     |  5 ++---
 2 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/build/bin/set-kylin-home.sh b/build/bin/set-kylin-home.sh
index d228bcb..93dbc96 100644
--- a/build/bin/set-kylin-home.sh
+++ b/build/bin/set-kylin-home.sh
@@ -1,3 +1,21 @@
+#!/bin/bash
+
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 if [ -z $KYLIN_HOME ];
 then
     export KYLIN_HOME=`cd -P -- "$(dirname -- "$0")" && dirname $(pwd)`
diff --git a/pom.xml b/pom.xml
index ed14a73..57fe46c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -248,7 +248,7 @@
       <dependency>
         <groupId>org.apache.kylin</groupId>
         <artifactId>kylin-shaded-guava</artifactId>
-        <version>${project.version}</version>
+        <version>3.1.0</version>
       </dependency>
       <dependency>
         <groupId>org.apache.kylin</groupId>
@@ -1362,7 +1362,6 @@
   </build>
 
   <modules>
-    <module>external</module>
     <module>core-common</module>
     <module>core-metadata</module>
     <module>core-dictionary</module>
@@ -1848,7 +1847,7 @@
                 <exclude>**/*.isl</exclude>
                 <exclude>**/*.isproj</exclude>
                 <exclude>**/*.bmp</exclude>
-
+                <exclude>**/*/CommentParser.jj</exclude>
                 <!-- protobuf generated -->
                 <exclude>
                   src/main/java/org/apache/kylin/storage/hbase/ii/coprocessor/endpoint/generated/IIProtos.java