Repository: orc
Updated Branches:
  refs/heads/master fdc9412dc -> ec95303b0


ORC-188 Fix RAT problems

Fixes #117

Signed-off-by: Owen O'Malley <[email protected]>


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

Branch: refs/heads/master
Commit: ec95303b0c32cb2b6227f1404f04cb0de9a7ca01
Parents: fdc9412
Author: Owen O'Malley <[email protected]>
Authored: Mon May 8 14:04:15 2017 -0700
Committer: Owen O'Malley <[email protected]>
Committed: Mon May 8 15:46:49 2017 -0700

----------------------------------------------------------------------
 java/bench/fetch-data.sh                       | 15 +++++++++++++++
 java/bench/src/main/resources/log4j.properties | 12 ++++++++++++
 java/core/pom.xml                              |  6 +++---
 java/pom.xml                                   | 21 +++++++++++++++++++++
 4 files changed, 51 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/orc/blob/ec95303b/java/bench/fetch-data.sh
----------------------------------------------------------------------
diff --git a/java/bench/fetch-data.sh b/java/bench/fetch-data.sh
index 90e0d0d..129d83f 100755
--- a/java/bench/fetch-data.sh
+++ b/java/bench/fetch-data.sh
@@ -1,4 +1,19 @@
 #!/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.
 mkdir -p data/sources/taxi
 (cd data/sources/taxi; wget 
https://s3.amazonaws.com/nyc-tlc/trip+data/yellow_tripdata_2015-{11,12}.csv)
 (cd data/sources/taxi; gzip *.csv)

http://git-wip-us.apache.org/repos/asf/orc/blob/ec95303b/java/bench/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/java/bench/src/main/resources/log4j.properties 
b/java/bench/src/main/resources/log4j.properties
index 363917c..625331e 100644
--- a/java/bench/src/main/resources/log4j.properties
+++ b/java/bench/src/main/resources/log4j.properties
@@ -1,3 +1,15 @@
+# Licensed 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.
+
 log4j.rootLogger=WARN, CONSOLE
 
 # CONSOLE is set to be a ConsoleAppender using a PatternLayout

http://git-wip-us.apache.org/repos/asf/orc/blob/ec95303b/java/core/pom.xml
----------------------------------------------------------------------
diff --git a/java/core/pom.xml b/java/core/pom.xml
index 535eb16..eaec422 100644
--- a/java/core/pom.xml
+++ b/java/core/pom.xml
@@ -102,9 +102,9 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
-         <sourceFileExcludes>
-           <exclude>**/OrcProto.java</exclude>
-         </sourceFileExcludes>
+          <sourceFileExcludes>
+            <exclude>**/OrcProto.java</exclude>
+          </sourceFileExcludes>
           <destDir>${project.artifactId}</destDir>
         </configuration>
       </plugin>

http://git-wip-us.apache.org/repos/asf/orc/blob/ec95303b/java/pom.xml
----------------------------------------------------------------------
diff --git a/java/pom.xml b/java/pom.xml
index 2997877..25c62b1 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -171,6 +171,27 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <version>0.10</version>
+        <configuration>
+          <excludeSubProject>false</excludeSubProject>
+          <excludes>
+            <exclude>**/*.json</exclude>
+            <exclude>**/*.json.gz</exclude>
+            <exclude>**/*.orc</exclude>
+            <exclude>**/*.out</exclude>
+            <exclude>**/*.schema</exclude>
+            <exclude>**/target/**</exclude>
+            <exclude>.idea/**</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
     </plugins>
     <pluginManagement>
       <plugins>

Reply via email to