diff --git a/library_generation/templates/root-pom.xml.j2 b/library_generation/templates/root-pom.xml.j2
index a713cefa2c..d1bd9efb74 100644
--- a/library_generation/templates/root-pom.xml.j2
+++ b/library_generation/templates/root-pom.xml.j2
@@ -58,7 +58,7 @@
org.sonatype.plugins
nexus-staging-maven-plugin
- 1.6.13
+ 1.7.0
true
sonatype-nexus-staging
diff --git a/library_generation/test/resources/test_monorepo_postprocessing/pom-golden.xml b/library_generation/test/resources/test_monorepo_postprocessing/pom-golden.xml
index 44a1df9409..a4e20ad785 100644
--- a/library_generation/test/resources/test_monorepo_postprocessing/pom-golden.xml
+++ b/library_generation/test/resources/test_monorepo_postprocessing/pom-golden.xml
@@ -58,7 +58,7 @@
org.sonatype.plugins
nexus-staging-maven-plugin
- 1.6.13
+ 1.7.0
true
sonatype-nexus-staging