diff --git a/pom.xml b/pom.xml
index 701a327dd..6a783a168 100644
--- a/pom.xml
+++ b/pom.xml
@@ -295,8 +295,9 @@
needed due to a bug in the Maven Shade plugin, which only relocates the content but not
the package structure itself, see https://issues.apache.org/jira/browse/MSHADE-406. -->
- META-INF/versions/9/org.yaml.snakeyaml
- META-INF/versions/9/net.datafaker.shaded.snakeyaml
+ META-INF/versions/(\d+)/org/yaml/snakeyaml
+ META-INF/versions/$1/net/datafaker/shaded/snakeyaml
+ true
com.mifmif.common.regex