You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2019/04/14 00:02:30 UTC

[lucene-solr] branch branch_8x updated: LUCENE-8752: Add license header to patch file

This is an automated email from the ASF dual-hosted git repository.

uschindler pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new a4ba4b0  LUCENE-8752: Add license header to patch file
a4ba4b0 is described below

commit a4ba4b0b7c81c10c0f078a094a0ad1ba3453d633
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Sun Apr 14 02:01:00 2019 +0200

    LUCENE-8752: Add license header to patch file
    
    Revert "LUCENE-8752: Fix precommit error: patch files cannot have a license header" - This reverts commit b60548f6d88bc1e3bba9916fc19d1c90b6505e28.
---
 lucene/analysis/kuromoji/build.xml                        |  1 -
 .../kuromoji/src/tools/patches/Noun.proper.csv.patch      | 15 +++++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/lucene/analysis/kuromoji/build.xml b/lucene/analysis/kuromoji/build.xml
index 43ca7e3..decfa7a 100644
--- a/lucene/analysis/kuromoji/build.xml
+++ b/lucene/analysis/kuromoji/build.xml
@@ -27,7 +27,6 @@
        is platform dependent?! -->
   <property name="rat.excludes" value="**/*.txt,**/bocchan.utf-8"/>
   <property name="rat.additional-includes" value="src/tools/**"/>
-  <property name="rat.additional-excludes" value="src/tools/patches/**"/>
 
   <!-- we don't want to pull in ipadic/naist etc -->
   <property name="ivy.default.configuration" value="default"/>
diff --git a/lucene/analysis/kuromoji/src/tools/patches/Noun.proper.csv.patch b/lucene/analysis/kuromoji/src/tools/patches/Noun.proper.csv.patch
index ee845ab..1e0c8d3 100644
--- a/lucene/analysis/kuromoji/src/tools/patches/Noun.proper.csv.patch
+++ b/lucene/analysis/kuromoji/src/tools/patches/Noun.proper.csv.patch
@@ -1,3 +1,18 @@
+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.
+
 --- Noun.proper.csv	2007-07-31 23:50:07.000000000 +0900
 +++ Noun.proper.csv.20190403	2019-04-03 15:52:43.793191818 +0900
 @@ -27325,3 +27325,4 @@