Having a problem reading persistence.xml files from multiple Jars with this library, Seems to be finding it as duplicates (META-INF/persistence.xml).
Only the first item is found and matched.
scanner.enableFieldInfo();
scanner.enableFieldAnnotationIndexing();
scanner.enableFieldTypeIndexing();
scanner.enableMethodAnnotationIndexing();
scanner.enableMethodInfo();
scanner.ignoreFieldVisibility();
scanner.ignoreMethodVisibility();
scanner.disableRecursiveScanning(false);
scanner.matchFilenamePattern("(.*)?persistence\\.xml", (File classpathElt, String relativePath, byte[] fileContents) -> {
log.warning("Found Persistence XML File : " + ClasspathUtils.getClasspathResourceURL(classpathElt, relativePath));
}
);