diff --git a/java/native-image/public-static-main-native-image-maven/pom.xml b/java/native-image/public-static-main-native-image-maven/pom.xml
index ee722e14..6c6965e6 100644
--- a/java/native-image/public-static-main-native-image-maven/pom.xml
+++ b/java/native-image/public-static-main-native-image-maven/pom.xml
@@ -25,7 +25,7 @@
${java.version}
UTF-8
UTF-8
- 3.2.2
+ 3.4.2