diff --git a/samples/client/petstore/java/retrofit2-play25/pom.xml b/samples/client/petstore/java/retrofit2-play25/pom.xml
index bab629d1f45..33710bd474f 100644
--- a/samples/client/petstore/java/retrofit2-play25/pom.xml
+++ b/samples/client/petstore/java/retrofit2-play25/pom.xml
@@ -278,7 +278,7 @@
${java.version}
1.8.0
1.5.18
- 2.10.1
+ 2.21.2
2.5.15
2.3.0
1.3.5