Repository: orc Updated Branches: refs/heads/branch-1.4 57ffa2de1 -> 5128c3d11
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/5128c3d1 Tree: http://git-wip-us.apache.org/repos/asf/orc/tree/5128c3d1 Diff: http://git-wip-us.apache.org/repos/asf/orc/diff/5128c3d1 Branch: refs/heads/branch-1.4 Commit: 5128c3d11cfcbf8933c6ea5c548fc377e1db2999 Parents: 57ffa2d 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:50:03 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/5128c3d1/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/5128c3d1/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/5128c3d1/java/core/pom.xml ---------------------------------------------------------------------- diff --git a/java/core/pom.xml b/java/core/pom.xml index a07a8f1..37a9e59 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/5128c3d1/java/pom.xml ---------------------------------------------------------------------- diff --git a/java/pom.xml b/java/pom.xml index 4268e99..2d369f9 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>
