mirror of https://github.com/apache/lucene.git
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:
parent
7152625e73
commit
5709c18bd5
|
@ -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)
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
**/lib/*.jar,
|
||||
licenses/**,
|
||||
*/docs/,**/README*"
|
||||
excludes="build/**,site/**,tools/**"
|
||||
excludes="build/**,site/**,tools/**,**/lib/*servlet-api*.jar"
|
||||
/>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue