diff --git a/common/pom.xml b/common/pom.xml
index c3c19dd540..22ce84edce 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -21,7 +21,7 @@
com.google.auto
auto-parent
- 2
+ 3
auto-common
diff --git a/service/pom.xml b/service/pom.xml
index eff378298b..6531bd17c6 100644
--- a/service/pom.xml
+++ b/service/pom.xml
@@ -21,7 +21,7 @@
com.google.auto
auto-parent
- 2
+ 3
com.google.auto.service
diff --git a/util/mvn-deploy.sh b/util/mvn-deploy.sh
new file mode 100755
index 0000000000..e7160ebeca
--- /dev/null
+++ b/util/mvn-deploy.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+if [ $# -lt 1 ]; then
+ echo "usage $0 [ ...]"
+ exit 1;
+fi
+key=${1}
+shift
+params=${@}
+
+#validate key
+keystatus=$(gpg --list-keys | grep ${key} | awk '{print $1}')
+if [ "${keystatus}" != "pub" ]; then
+ echo "Could not find public key with label ${key}"
+ echo -n "Available keys from: "
+ gpg --list-keys | grep --invert-match '^sub'
+
+ exit 1
+fi
+
+mvn ${params} clean site:jar -P sonatype-oss-release -Dgpg.keyname=${key} deploy
diff --git a/value/pom.xml b/value/pom.xml
index a320cdb67c..fed7ad110c 100644
--- a/value/pom.xml
+++ b/value/pom.xml
@@ -21,7 +21,7 @@
com.google.auto
auto-parent
- 2
+ 3
com.google.auto.value