diff --git a/extensions/reactive-mysql-client/deployment/pom.xml b/extensions/reactive-mysql-client/deployment/pom.xml
index 72ed890af1b81..caef8a588fe1e 100644
--- a/extensions/reactive-mysql-client/deployment/pom.xml
+++ b/extensions/reactive-mysql-client/deployment/pom.xml
@@ -183,7 +183,7 @@
- ${project.basedir}/custom-mariadbconfig:/etc/mysql/conf.d/:Z
+ ${project.basedir}/custom-mariadbconfig:/etc/mysql/conf.d:Z
diff --git a/integration-tests/hibernate-orm-tenancy/connection-resolver-legacy-qualifiers/pom.xml b/integration-tests/hibernate-orm-tenancy/connection-resolver-legacy-qualifiers/pom.xml
index 8772de1597c9b..d71a6959129f4 100644
--- a/integration-tests/hibernate-orm-tenancy/connection-resolver-legacy-qualifiers/pom.xml
+++ b/integration-tests/hibernate-orm-tenancy/connection-resolver-legacy-qualifiers/pom.xml
@@ -224,7 +224,7 @@
- ${project.basedir}/custom-mariadbconfig:/etc/mysql/conf.d/:Z
+ ${project.basedir}/custom-mariadbconfig:/etc/mysql/conf.d:Z
diff --git a/integration-tests/hibernate-orm-tenancy/connection-resolver/pom.xml b/integration-tests/hibernate-orm-tenancy/connection-resolver/pom.xml
index 51bd06d304a5f..59138eced42b1 100644
--- a/integration-tests/hibernate-orm-tenancy/connection-resolver/pom.xml
+++ b/integration-tests/hibernate-orm-tenancy/connection-resolver/pom.xml
@@ -224,7 +224,7 @@
- ${project.basedir}/custom-mariadbconfig:/etc/mysql/conf.d/:Z
+ ${project.basedir}/custom-mariadbconfig:/etc/mysql/conf.d:Z
diff --git a/integration-tests/hibernate-orm-tenancy/datasource/pom.xml b/integration-tests/hibernate-orm-tenancy/datasource/pom.xml
index 6c3505cfad115..cd9945e7eb2db 100644
--- a/integration-tests/hibernate-orm-tenancy/datasource/pom.xml
+++ b/integration-tests/hibernate-orm-tenancy/datasource/pom.xml
@@ -244,7 +244,7 @@
- ${project.basedir}/custom-mariadbconfig:/etc/mysql/conf.d/:Z
+ ${project.basedir}/custom-mariadbconfig:/etc/mysql/conf.d:Z
diff --git a/integration-tests/hibernate-reactive-mysql/pom.xml b/integration-tests/hibernate-reactive-mysql/pom.xml
index 656c6ad2355f0..b3086ccc46d9a 100644
--- a/integration-tests/hibernate-reactive-mysql/pom.xml
+++ b/integration-tests/hibernate-reactive-mysql/pom.xml
@@ -201,7 +201,7 @@
-
+
diff --git a/integration-tests/jpa-mariadb/pom.xml b/integration-tests/jpa-mariadb/pom.xml
index b7f4ed3a3fe8f..795e49302a05f 100644
--- a/integration-tests/jpa-mariadb/pom.xml
+++ b/integration-tests/jpa-mariadb/pom.xml
@@ -190,7 +190,7 @@
- ${project.basedir}/custom-mariadbconfig:/etc/mysql/conf.d/:Z
+ ${project.basedir}/custom-mariadbconfig:/etc/mysql/conf.d:Z
diff --git a/integration-tests/reactive-mysql-client/pom.xml b/integration-tests/reactive-mysql-client/pom.xml
index 4130bcbc0e251..e4b11aa554c67 100644
--- a/integration-tests/reactive-mysql-client/pom.xml
+++ b/integration-tests/reactive-mysql-client/pom.xml
@@ -211,7 +211,7 @@
- ${project.basedir}/custom-mariadbconfig:/etc/mysql/conf.d/:Z
+ ${project.basedir}/custom-mariadbconfig:/etc/mysql/conf.d:Z