carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenliang...@apache.org
Subject [1/4] incubator-carbondata git commit: [CARBONDATA-718] Add rat to check if all files contain ASF header and fix files with missing ASF header
Date Mon, 27 Feb 2017 23:26:06 GMT
Repository: incubator-carbondata
Updated Branches:
  refs/heads/master 1474bbf9a -> 86a2fac13


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/2b4f1035/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 908e90f..95a3ff4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -418,7 +418,7 @@
           <plugin>
             <groupId>org.apache.rat</groupId>
             <artifactId>apache-rat-plugin</artifactId>
-            <version>0.11</version>
+            <version>0.12</version>
             <executions>
               <execution>
                 <phase>verify</phase>
@@ -430,27 +430,14 @@
             <configuration>
               <reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile>
               <excludeSubProjects>false</excludeSubProjects>
+              <consoleOutput>true</consoleOutput>
               <useDefaultExcludes>true</useDefaultExcludes>
               <excludes>
+                <exclude>**/target/**/*</exclude>
+                <exclude>.github/**/*</exclude>
                 <exclude>**/*.iml</exclude>
-                <exclude>**/*.csv</exclude>
-                <exclude>**/*.dictionary</exclude>
-                <exclude>**/*.ktr</exclude>
-                <exclude>**/*.rat</exclude>
-                <exclude>**/_SUCCESS</exclude>
-                <exclude>**/non-csv</exclude>
-                <exclude>**/.invisibilityfile</exclude>
-                <exclude>**/noneCsvFormat.cs</exclude>
-                <exclude>**/org.apache.spark.sql.sources.DataSourceRegister</exclude>
-                <exclude>**/org.apache.spark.sql.test.TestQueryExecutorRegister</exclude>
-                <exclude>**/derby.log</exclude>
-                <exclude>**/meta.lock</exclude>
-                <exclude>**/loadmetadata.metadata</exclude>
-                <exclude>**/modifiedTime.mdt</exclude>
-                <exclude>**/PULL_REQUEST_TEMPLATE.md</exclude>
-                <exclude>**/dict.txt</exclude>
-                <exclude>**/sample</exclude>
-                <exclude>**/test.json</exclude>
+                <exclude>**/src/test/**/*</exclude>
+                <exclude>examples/**/*.csv</exclude>
               </excludes>
             </configuration>
           </plugin>


Mime
View raw message