Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-6732: Scan txt files in root folder, too. TODO: scan txt files everywhere

Uwe Schindler05d089ca0141
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.