This is an automated email from the ASF dual-hosted git repository.
krisden pushed a commit to branch branch_9_0
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9_0 by this push:
new 0d11238 SOLR-16048: Examine Tika dependencies that brought in javax
classes
0d11238 is described below
commit 0d11238903a59f08e2041cbc5d2c22206cae0ee6
Author: Kevin Risden <[email protected]>
AuthorDate: Wed Feb 23 09:30:33 2022 -0500
SOLR-16048: Examine Tika dependencies that brought in javax classes
* jakarta.annotation-api - this should be allowed so exclusion in
smokeTestRelease
* jakarta.activation - this should be allowed so exclusion in
smokeTestRelease
* jakarta.xml.bind-api - this should be allowed so exclusion in
smokeTestRelease
* unit-api - this should be allowed so exclusion in smokeTestRelease
* removed jersey and xml-api exclusion since they aren't dependencies
anymore
---
dev-tools/scripts/smokeTestRelease.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev-tools/scripts/smokeTestRelease.py
b/dev-tools/scripts/smokeTestRelease.py
index 925b659..c3a828f 100755
--- a/dev-tools/scripts/smokeTestRelease.py
+++ b/dev-tools/scripts/smokeTestRelease.py
@@ -203,8 +203,10 @@ def checkAllJARs(topDir, gitRevision, version):
for file in files:
if file.lower().endswith('.jar'):
- if ((normRoot.endswith('/test-framework/lib') and
file.startswith('jersey-'))
- or (normRoot.endswith('/modules/extraction/lib') and
file.startswith('xml-apis-'))):
+ if ((normRoot.endswith('/modules/extraction/lib') and
file.startswith('jakarta.activation-'))
+ or (normRoot.endswith('/modules/extraction/lib') and
file.startswith('jakarta.annotation-api-'))
+ or (normRoot.endswith('/modules/extraction/lib') and
file.startswith('jakarta.xml.bind-api-'))
+ or (normRoot.endswith('/modules/extraction/lib') and
file.startswith('unit-api-'))):
print(' **WARNING**: skipping check of %s/%s: it has javax.*
classes' % (root, file))
continue
fullPath = '%s/%s' % (root, file)