diff --git a/etc/scripts/release.sh b/etc/scripts/release.sh
index b5a2c020da7..3156e5c784a 100755
--- a/etc/scripts/release.sh
+++ b/etc/scripts/release.sh
@@ -241,7 +241,7 @@ release_build(){
# Perform deployment
mvn ${MAVEN_ARGS} clean deploy \
- -Pdeploy,release,archetypes \
+ -Prelease,archetypes \
-DskipTests \
-DstagingRepositoryId="${STAGING_REPO_ID}" \
-DretryFailedDeploymentCount="10"
diff --git a/parent/pom.xml b/parent/pom.xml
index aaa34b010f0..e9548856d74 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -227,6 +227,11 @@
release
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+ true
+
org.apache.maven.plugins
maven-gpg-plugin
@@ -243,18 +248,6 @@
-
- deploy
-
-
-
- org.sonatype.plugins
- nexus-staging-maven-plugin
- true
-
-
-
-
staging