You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2015/05/12 03:59:37 UTC

[06/14] incubator-kylin git commit: KYLIN-715 update pom for release issue

KYLIN-715 update pom for release issue


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

Branch: refs/heads/master
Commit: f22b81cff4b2a4b6fb1853194dac915a6141f6ca
Parents: d0d257a
Author: lukehan <lu...@apache.org>
Authored: Tue Apr 28 16:17:01 2015 +0800
Committer: lukehan <lu...@apache.org>
Committed: Tue Apr 28 16:17:01 2015 +0800

----------------------------------------------------------------------
 .gitignore | 18 +++++++++++++-----
 pom.xml    | 32 +++++++++++++++++++++++++++++++-
 2 files changed, 44 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/f22b81cf/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 08a55a3..62b46f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,6 +43,10 @@ release.properties
 *.jar
 *.war
 *.ear
+*.tgz
+*.tar.gz
+
+
 
 # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
 hs_err_pid*
@@ -54,14 +58,15 @@ hs_err_pid*
 .project
 .idea
 **/*.DS_Store
-target
-logs
 *.jar
 *.releaseBackup
 *.log
+jdbc/kylin_jdbc.log.*
 *.DS_Store
 *.releaseBackup
 
+
+
 # .settings
 org.eclipse.m2e.core.prefs
 org.eclipse.wst.common.component
@@ -71,15 +76,18 @@ server/.settings/.jsdtscope
 server/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
 server/.settings/org.eclipse.wst.jsdt.ui.superType.container
 server/.settings/org.eclipse.wst.jsdt.ui.superType.name
+
 #web
 webapp/app/WEB-INF/*
 webapp/dist
 webapp/node_modules:
 webapp/CHANGELOG.md
 
-# package file
+# generated files
+target
+logs
+
+# package file and folder
 tomcat
 lib
-*.tgz
-*.tar.gz
 webapp/app/components/*

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/f22b81cf/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0ce8848..f3a61c8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -650,6 +650,34 @@
             <id>apache-release</id>
             <build>
                 <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <version>2.16</version>
+                        <configuration>
+                            <reportsDirectory>${project.basedir}/../target/surefire-reports</reportsDirectory>
+                            <excludes>
+                                <exclude>**/BuildCubeWithEngineTest.java</exclude>
+                                <exclude>**/BuildIIWithEngineTest.java</exclude>
+                                <exclude>**/SampleCubeSetupTest.java</exclude>
+                                <exclude>**/KylinQueryTest.java</exclude>
+                                <exclue>**/SnapshotManagerTest.java</exclue>
+                                <exclue>**/HiveTableReaderTest.java</exclue>
+                                <exclude>**/TableControllerTest.java</exclude>
+                            </excludes>
+                            <systemProperties>
+                                <property>
+                                    <name>useSandbox</name>
+                                    <value>false</value>
+                                </property>
+                                <property>
+                                    <name>buildCubeUsingProvidedData</name>
+                                    <value>false</value>
+                                </property>
+                            </systemProperties>
+                            <argLine>-Xms1G -Xmx2G -XX:PermSize=128M -XX:MaxPermSize=256M</argLine>
+                        </configuration>
+                    </plugin>
                     <!-- Apache-RAT checks for files without headers.
                          If run on a messy developer's sandbox, it will fail.
                          This serves as a reminder to only build a release in a clean
@@ -692,9 +720,11 @@
                                 <!-- MIT license -->
                                 <exclude>webapp/app/css/AdminLTE-fonts.css</exclude>
                                 <exclude>webapp/app/css/AdminLTE.css</exclude>
+
+                                <!-- jdbc log -->
+                                <exclude>jdbc/kylin_jdbc.*</exclude>
                               	
                             </excludes>
-                            <argLine>-Xms1G -Xmx2G -XX:PermSize=128M -XX:MaxPermSize=256M</argLine>
                         </configuration>
                         <executions>
                             <execution>