From 05d089ca0141a23caf1e29043feb66939dfa8f1d Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Thu, 13 Aug 2015 09:53:44 +0000 Subject: [PATCH] LUCENE-6732: Scan txt files in root folder, too. TODO: scan txt files everywhere git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695669 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 8 +++++++- lucene/LICENSE.txt | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index a65e9b4ec5b..a4cd07abbb6 100644 --- a/build.xml +++ b/build.xml @@ -136,7 +136,7 @@ def extensions = [ 'java', 'jflex', 'py', 'pl', 'g4', 'jj', 'html', 'js', 'css', 'xml', 'xsl', 'vm', 'sh', 'cmd', 'bat', 'policy', - 'properties', + 'properties', 'mdtext', ]; def invalidPatterns = [ (~$/@author\b/$) : '@author javadoc tag', @@ -175,7 +175,13 @@ include(name: 'dev-tools/**/*.' + it) include(name: '*.' + it) } + // TODO: For now we don't scan txt files, so we + // check licenses in top-level folders separately: + include(name: '*.txt') + include(name: '*/*.txt') + // excludes: exclude(name: '**/build/**') + exclude(name: '**/dist/**') exclude(name: 'build.xml') // ourselves :-) } }.each{ f -> diff --git a/lucene/LICENSE.txt b/lucene/LICENSE.txt index 6a1e236185c..79f6a1efe01 100644 --- a/lucene/LICENSE.txt +++ b/lucene/LICENSE.txt @@ -446,7 +446,7 @@ BSD-licensed dictionary of Polish (SGJP) http://sgjp.pl/morfeusz/ Copyright © 2011 Zygmunt Saloni, Włodzimierz Gruszczyński, - Marcin Woliński, Robert Wołosz +Marcin Woliński, Robert Wołosz All rights reserved.