diff --git a/samples/client/petstore/java/retrofit2/pom.xml b/samples/client/petstore/java/retrofit2/pom.xml
index 10c1ec0dc8b2..e67eee414ae3 100644
--- a/samples/client/petstore/java/retrofit2/pom.xml
+++ b/samples/client/petstore/java/retrofit2/pom.xml
@@ -267,7 +267,7 @@
${java.version}
1.8.3
1.5.22
- 2.5.0
+ 2.10.0
1.4.0
1.3.2
1.0.1