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/27cb9e27
Tree: http://git-wip-us.apache.org/repos/asf/avro/tree/27cb9e27
Diff: http://git-wip-us.apache.org/repos/asf/avro/diff/27cb9e27

Branch: refs/heads/master
Commit: 27cb9e271715b00ff5784164a9fb02de00e57203
Parents: 4810d48
Author: Niels Basjes <nbas...@bol.com>
Authored: Thu Sep 15 10:19:52 2016 +0200
Committer: Niels Basjes <nbas...@bol.com>
Committed: Thu Sep 15 10:19:52 2016 +0200

----------------------------------------------------------------------
 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/27cb9e27/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 365c6bd..aa72209 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -58,6 +58,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/27cb9e27/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/27cb9e27/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/27cb9e27/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0e5948a..4d1454a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -226,7 +226,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>
@@ -245,6 +245,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>

Reply via email to