Files that end with web.xml or web-fragment.xml cause errors when using the liberty arquillian plugin. Only files that have the exact name of web.xml and web-fragment.xml should be treated as web XML descriptors. This change was identified while doing TCK testing for Jakarta EE 10 where some applications have a glassfish-web.xml file in them.
Changes proposed in this pull request:
Only accept for files that have the exact name of web.xml and web-fragment.xml to be treated as web XML descriptors.
Short description of what this resolves:
Files that end with web.xml or web-fragment.xml cause errors when using the liberty arquillian plugin. Only files that have the exact name of web.xml and web-fragment.xml should be treated as web XML descriptors. This change was identified while doing TCK testing for Jakarta EE 10 where some applications have a glassfish-web.xml file in them.
Changes proposed in this pull request:
Fixes: #113