LUCENE-4430: Lucene Demo module should not ship with servlet-api.jar file

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390194 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2012-09-25 22:22:58 +00:00
parent 7152625e73
commit 5709c18bd5
2 changed files with 1 additions and 5 deletions

View File

@ -168,10 +168,6 @@ def noJavaPackageClasses(desc, file):
def checkAllLuceneJARs(root):
print(' make sure Lucene JARs don\'t have javax.* or java.* classes...')
for root, dirs, files in os.walk(root):
if root.endswith('demo/lib'):
# Lucene demo intentionally ships servlet-api JAR:
continue
for file in files:
if file.lower().endswith('.jar'):
fullPath = '%s/%s' % (root, file)

View File

@ -37,7 +37,7 @@
**/lib/*.jar,
licenses/**,
*/docs/,**/README*"
excludes="build/**,site/**,tools/**"
excludes="build/**,site/**,tools/**,**/lib/*servlet-api*.jar"
/>