diff --git a/bom/pom.xml b/bom/pom.xml
index 9d75933b6a..39a52f7fd8 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -491,6 +491,12 @@
org.mongodb
mongodb-driver-legacy
${version.org.mongodb.mongo-java-driver}
+
+
+ bson-record-codec
+ org.mongodb
+
+
diff --git a/mongodb/pom.xml b/mongodb/pom.xml
index 4a06b8528d..0e9d4afa07 100644
--- a/mongodb/pom.xml
+++ b/mongodb/pom.xml
@@ -68,6 +68,12 @@
org.mongodb
mongodb-driver-legacy
+
+
+ bson-record-codec
+ org.mongodb
+
+
org.parboiled