elharo opened a new pull request, #287: URL: https://github.com/apache/maven-dependency-analyzer/pull/287
Fixes #284 WarMainDependencyClassesProvider.processClassesFromTags() only checked three specific XML namespaces (Jakarta EE, Java EE 7-8, Java EE 5-6). web.xml files without a namespace (Servlet 2.4 and earlier) or with unknown namespaces produced zero matches, silently dropping all servlet/filter/listener class extraction. Changes: - Add fallback to `getElementsByTagName()` (non-namespace-aware query) when namespace queries yield no results - Update unit test to expect classes from namespace-less web.xml - Add integration test with namespace-less web.xml referencing servlet/filter/listener classes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
