AVRO-1914: Fix licencing errors reported by rat.
Project: http://git-wip-us.apache.org/repos/asf/avro/repo Commit: http://git-wip-us.apache.org/repos/asf/avro/commit/7a15dcdf Tree: http://git-wip-us.apache.org/repos/asf/avro/tree/7a15dcdf Diff: http://git-wip-us.apache.org/repos/asf/avro/diff/7a15dcdf Branch: refs/heads/branch-1.8 Commit: 7a15dcdf5252b3b8fc1d1ad440f6080afc06d242 Parents: d5c65e9 Author: Niels Basjes <[email protected]> Authored: Thu Sep 15 10:19:52 2016 +0200 Committer: Ryan Blue <[email protected]> Committed: Sat Nov 5 13:18:03 2016 -0700 ---------------------------------------------------------------------- CHANGES.txt | 2 ++ .../avro/specific/TestSpecificLogicalTypes.java | 17 +++++++++++++++++ .../avro/specific/TestSpecificToFromByteArray.java | 17 +++++++++++++++++ pom.xml | 4 +++- 4 files changed, 39 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/avro/blob/7a15dcdf/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index 43d6d35..d16b7bf 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -55,6 +55,8 @@ Trunk (not yet released) AVRO-1913: No warnings in the generated Java code. (Niels Basjes) + AVRO-1914: Fix licencing errors reported by rat. (Niels Basjes) + Avro 1.8.1 (14 May 2016) INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/avro/blob/7a15dcdf/lang/java/avro/src/test/java/org/apache/avro/specific/TestSpecificLogicalTypes.java ---------------------------------------------------------------------- diff --git a/lang/java/avro/src/test/java/org/apache/avro/specific/TestSpecificLogicalTypes.java b/lang/java/avro/src/test/java/org/apache/avro/specific/TestSpecificLogicalTypes.java index 2b93717..64d45cb 100644 --- a/lang/java/avro/src/test/java/org/apache/avro/specific/TestSpecificLogicalTypes.java +++ b/lang/java/avro/src/test/java/org/apache/avro/specific/TestSpecificLogicalTypes.java @@ -1,3 +1,20 @@ +/** + * 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. + */ package org.apache.avro.specific; import org.apache.avro.Conversions; http://git-wip-us.apache.org/repos/asf/avro/blob/7a15dcdf/lang/java/avro/src/test/java/org/apache/avro/specific/TestSpecificToFromByteArray.java ---------------------------------------------------------------------- diff --git a/lang/java/avro/src/test/java/org/apache/avro/specific/TestSpecificToFromByteArray.java b/lang/java/avro/src/test/java/org/apache/avro/specific/TestSpecificToFromByteArray.java index b17cad2..d3a81c3 100644 --- a/lang/java/avro/src/test/java/org/apache/avro/specific/TestSpecificToFromByteArray.java +++ b/lang/java/avro/src/test/java/org/apache/avro/specific/TestSpecificToFromByteArray.java @@ -1,3 +1,20 @@ +/** + * 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. + */ package org.apache.avro.specific; import org.apache.avro.Conversions; http://git-wip-us.apache.org/repos/asf/avro/blob/7a15dcdf/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 12bea77..fc69a9d 100644 --- a/pom.xml +++ b/pom.xml @@ -224,7 +224,7 @@ <!-- may not be in the root folder if using git-svn --> <exclude>**/.git/**</exclude> <exclude>**/.gitignore</exclude> - <!-- build or test files --> + <!-- build or test files (some are generated files that we commit as-is for testing purposes) --> <exclude>**/*.log</exclude> <exclude>build/**</exclude> <exclude>doc/build/**</exclude> @@ -243,6 +243,8 @@ <exclude>lang/ruby/.gem/**</exclude> <exclude>lang/ruby/pkg/**</exclude> <exclude>lang/ruby/.bundle/**</exclude> + <exclude>lang/java/avro/src/test/java/org/apache/avro/specific/TestRecordWithLogicalTypes.java</exclude> + <exclude>lang/java/avro/src/test/java/org/apache/avro/specific/TestRecordWithoutLogicalTypes.java</exclude> <exclude>lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Player.java</exclude> <exclude>lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Position.java</exclude> <exclude>lang/java/tools/src/test/compiler/output/Player.java</exclude>
