diff --git a/pom.template.xml b/pom.template.xml
index cb0381efa..660d26d0e 100644
--- a/pom.template.xml
+++ b/pom.template.xml
@@ -363,51 +363,18 @@
maven-compiler-plugin
3.1
- 1.7
- 1.7
+ 21
+ 21
+
+
+
+ org.apache.maven.plugins
+ maven-release-plugin
+ 2.5.3
+
+ r@{project.version}
-
-
-
- sonatype-oss-release
-
-
-
-
- org.apache.maven.plugins
- maven-deploy-plugin
- 2.7
-
- true
-
-
-
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.7.0
-
-
- default-deploy
- deploy
-
-
- deploy
-
-
-
-
-
- https://oss.sonatype.org/
-
- sonatype-nexus-staging
-
-
-
-
-
-