diff --git a/java/native-image/quarkus-native-image-maven/README.md b/java/native-image/quarkus-native-image-maven/README.md
index 7c6e1977..4f7f6b03 100644
--- a/java/native-image/quarkus-native-image-maven/README.md
+++ b/java/native-image/quarkus-native-image-maven/README.md
@@ -8,11 +8,11 @@
pack build applications/quarkus-native \
--builder paketobuildpacks/builder-jammy-tiny \
--env BP_NATIVE_IMAGE=true \
- --env BP_MAVEN_BUILD_ARGUMENTS="-Dquarkus.package.type=native-sources -Dmaven.test.skip=true package" \
+ --env BP_MAVEN_ADDITIONAL_BUILD_ARGUMENTS="-Dquarkus.package.type=native-sources" \
--env BP_MAVEN_BUILT_ARTIFACT="target/native-sources" \
--env BP_NATIVE_IMAGE_BUILD_ARGUMENTS_FILE="native-sources/native-image.args" \
- --env BP_NATIVE_IMAGE_BUILT_ARTIFACT="native-sources/getting-started-*-runner.jar" \
- --env BP_JVM_VERSION=17
+ --env BP_NATIVE_IMAGE_BUILT_ARTIFACT="native-sources/*-runner.jar" \
+ --env BP_JVM_VERSION=21
```
## Running
diff --git a/java/native-image/quarkus-native-image-maven/pom.xml b/java/native-image/quarkus-native-image-maven/pom.xml
index 821a8c21..f4358698 100644
--- a/java/native-image/quarkus-native-image-maven/pom.xml
+++ b/java/native-image/quarkus-native-image-maven/pom.xml
@@ -13,8 +13,8 @@
3.13.0
3.5.2
UTF-8
- 11
- 11
+ 21
+ 21
true