improve ClasspathHellDuplicatesCheckRuleTest (req. by FINERACT-953)

to ignore all META-INF/groovy** such as
META-INF/groovy/org.codehaus.groovy.runtime.ExtensionModule which is
part of both groovy-xml-3.0.3.jar as well as e.g. ical4j-3.0.18.jar
This commit is contained in:
Michael Vorburger
2020-05-19 23:01:28 +02:00
parent 5557b8be4a
commit dd0c838439
@@ -129,7 +129,7 @@ public class ClasspathHellDuplicatesChecker {
|| resourcePath.startsWith("META-INF/additional-spring")
|| resourcePath.startsWith("META-INF/terracotta")
// Groovy is groovy
|| resourcePath.startsWith("META-INF/groovy-release-info.properties")
|| resourcePath.startsWith("META-INF/groovy")
// Something doesn't to be a perfectly clean in Maven Surefire:
|| resourcePath.startsWith("META-INF/maven/")
|| resourcePath.contains("surefire")