diff --git a/bom/pom.xml b/bom/pom.xml
index 51fef3a5a..f9d1f2fe8 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -327,6 +327,12 @@
org.apache.wss4j
wss4j-ws-security-common
${wss4j.version}
+
+
+ io.dropwizard.metrics
+ metrics-core
+
+
org.apache.wss4j
diff --git a/src/build/enforcer-rules/quarkus-cxf-banned-dependencies.xml b/src/build/enforcer-rules/quarkus-cxf-banned-dependencies.xml
index 333eb7b64..1b55f0e07 100644
--- a/src/build/enforcer-rules/quarkus-cxf-banned-dependencies.xml
+++ b/src/build/enforcer-rules/quarkus-cxf-banned-dependencies.xml
@@ -7,6 +7,7 @@
com.sun.activation:jakarta.activation
com.sun.mail:javax.mail
com.sun.mail:jakarta.mail
+ io.dropwizard.metrics:metrics-core
org.eclipse.angus:jakarta.mail
org.apache.cxf:cxf-integration-jca
org.apache.cxf:cxf-rt-bindings-jbi