diff --git a/hadoop-ozone/s3gateway/pom.xml b/hadoop-ozone/s3gateway/pom.xml
index 3d47e726e5..b4df2b88d0 100644
--- a/hadoop-ozone/s3gateway/pom.xml
+++ b/hadoop-ozone/s3gateway/pom.xml
@@ -55,23 +55,26 @@
org.glassfish.jersey.inject
jersey-hk2
2.27
-
hk2-api
org.glassfish.hk2
- org.glassfish.hk2.external
- aopalliance-repackaged
+ hk2-utils
+ org.glassfish.hk2
- org.glassfish.hk2
- hk2-utils
+ aopalliance-repackaged
+ org.glassfish.hk2.external
+
+ org.glassfish.hk2
+ hk2-api
+ 2.5.0
+
com.fasterxml.jackson.dataformat
jackson-dataformat-xml