You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ga...@apache.org on 2017/11/08 18:08:30 UTC

hive git commit: HIVE-17997 Add rat plugin and configuration to standalone metastore pom (Adam Szita via Alan Gates).

Repository: hive
Updated Branches:
  refs/heads/master 801198434 -> d85d401aa


HIVE-17997 Add rat plugin and configuration to standalone metastore pom (Adam Szita via Alan Gates).


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

Branch: refs/heads/master
Commit: d85d401aae1bcef38a3ef30677d8334235672cf1
Parents: 8011984
Author: Alan Gates <ga...@hortonworks.com>
Authored: Wed Nov 8 10:07:23 2017 -0800
Committer: Alan Gates <ga...@hortonworks.com>
Committed: Wed Nov 8 10:07:23 2017 -0800

----------------------------------------------------------------------
 standalone-metastore/pom.xml | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/d85d401a/standalone-metastore/pom.xml
----------------------------------------------------------------------
diff --git a/standalone-metastore/pom.xml b/standalone-metastore/pom.xml
index a43cae3..7228b79 100644
--- a/standalone-metastore/pom.xml
+++ b/standalone-metastore/pom.xml
@@ -468,7 +468,6 @@
       <!-- TODO MS-SPLIT assembly plugin -->
       <!-- TODO MS-SPLIT findbugs plugin -->
       <!-- TODO MS-SPLIT javadoc plugin -->
-      <!-- TODO MS-SPLIT rat plugin -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
@@ -496,6 +495,28 @@
         </configuration>
       </plugin>
       <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <version>0.10</version>
+        <configuration>
+          <excludes>
+            <exclude>**/README.md</exclude>
+            <exclude>**/*.iml</exclude>
+            <exclude>**/*.txt</exclude>
+            <exclude>**/*.log</exclude>
+            <exclude>**/*.arcconfig</exclude>
+            <exclude>**/package-info.java</exclude>
+            <exclude>**/*.properties</exclude>
+            <exclude>**/*.q</exclude>
+            <exclude>**/*.q.out</exclude>
+            <exclude>**/*.xml</exclude>
+            <exclude>**/gen/**</exclude>
+            <exclude>**/patchprocess/**</exclude>
+            <exclude>**/metastore_db/**</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>build-helper-maven-plugin</artifactId>
         <version>3.0.0</version>