You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2018/09/17 10:57:25 UTC

[kylin] 14/15: KYLIN-3513 add plugin version to pom.xml KYLIN-3513 disable javadoc check KYLIN-3513 use SHA-256 algorithm

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

shaofengshi pushed a commit to branch 2.5.0-hadoop3.1
in repository https://gitbox.apache.org/repos/asf/kylin.git

commit f818fce995e73a32729e8d22b4ec17b8349ee832
Author: shaofengshi <sh...@apache.org>
AuthorDate: Wed Sep 12 16:39:15 2018 +0800

    KYLIN-3513 add plugin version to pom.xml
    KYLIN-3513 disable javadoc check
    KYLIN-3513 use SHA-256 algorithm
---
 core-common/pom.xml | 29 -----------------------------
 pom.xml             | 15 +++++++++++++--
 source-hive/pom.xml |  4 ----
 3 files changed, 13 insertions(+), 35 deletions(-)

diff --git a/core-common/pom.xml b/core-common/pom.xml
index 2f1c8e2..94a3e76 100644
--- a/core-common/pom.xml
+++ b/core-common/pom.xml
@@ -102,33 +102,4 @@
             <scope>provided</scope>
         </dependency>
     </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>copy</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>copy</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>mysql</groupId>
-                                    <artifactId>mysql-connector-java</artifactId>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>${project.basedir}/../../build/ext</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                            <overWriteReleases>false</overWriteReleases>
-                            <overWriteSnapshots>true</overWriteSnapshots>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
 </project>
diff --git a/pom.xml b/pom.xml
index fee7233..ce94e25 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1200,6 +1200,11 @@
                     <artifactId>maven-dependency-plugin</artifactId>
                     <version>2.10</version>
                 </plugin>
+                <plugin>
+                    <groupId>net.alchim31.maven</groupId>
+                    <artifactId>scala-maven-plugin</artifactId>
+                    <version>3.4.1</version>
+                </plugin>
             </plugins>
         </pluginManagement>
         <plugins>
@@ -1226,6 +1231,13 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <configuration>
+                        <excludePackageNames>org.apache.kylin.*</excludePackageNames>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 
@@ -1706,8 +1718,7 @@
                         </executions>
                         <configuration>
                             <algorithms>
-                                <algorithm>MD5</algorithm>
-                                <algorithm>SHA-1</algorithm>
+                                <algorithm>SHA-256</algorithm>
                             </algorithms>
                             <failOnError>false</failOnError>
                         </configuration>
diff --git a/source-hive/pom.xml b/source-hive/pom.xml
index 4c7e937..a766e07 100644
--- a/source-hive/pom.xml
+++ b/source-hive/pom.xml
@@ -105,10 +105,6 @@
             <groupId>org.apache.kylin</groupId>
             <artifactId>kylin-engine-spark</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.apache.kylin</groupId>
-            <artifactId>kylin-engine-spark</artifactId>
-        </dependency>
     </dependencies>
 
 </project>