diff --git a/packages/aws-cdk/lib/init-templates/app/java/pom.xml b/packages/aws-cdk/lib/init-templates/app/java/pom.xml
index e362c878770f6..0b6306c3d8c54 100644
--- a/packages/aws-cdk/lib/init-templates/app/java/pom.xml
+++ b/packages/aws-cdk/lib/init-templates/app/java/pom.xml
@@ -19,17 +19,16 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.8.1
+ 3.11.0
-
- 1.8
+ 17
org.codehaus.mojo
exec-maven-plugin
- 3.0.0
+ 3.1.0
com.myorg.%name.PascalCased%App
diff --git a/packages/aws-cdk/lib/init-templates/sample-app/java/pom.xml b/packages/aws-cdk/lib/init-templates/sample-app/java/pom.xml
index 1418d994e172f..877369a3c79ca 100644
--- a/packages/aws-cdk/lib/init-templates/sample-app/java/pom.xml
+++ b/packages/aws-cdk/lib/init-templates/sample-app/java/pom.xml
@@ -16,16 +16,16 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.8.1
+ 3.11.0
-
- 1.8
+ 17
+
org.codehaus.mojo
exec-maven-plugin
- 3.0.0
+ 3.1.0
com.myorg.%name.PascalCased%App