Update settings to deploy to sonatype by default

Recent releases have been made on Maven Central through Sonatype.

Replace the googlesource setting with sonatype settings so we don't
have to manually specify the deploy repository on future releases.

Change-Id: I30ca805c05a5ce1017ecb9914118339f251423c4
diff --git a/pom.xml b/pom.xml
index 4a2c8d6..f502720 100644
--- a/pom.xml
+++ b/pom.xml
@@ -447,13 +447,6 @@
         </executions>
       </plugin>
     </plugins>
-    <extensions>
-      <extension>
-        <groupId>com.googlesource.gerrit</groupId>
-        <artifactId>gs-maven-wagon</artifactId>
-        <version>3.3</version>
-      </extension>
-    </extensions>
   </build>
 
   <dependencies>
@@ -528,18 +521,16 @@
     </dependency>
   </dependencies>
 
-  <pluginRepositories>
-    <pluginRepository>
-      <id>gerrit-maven</id>
-      <url>https://gerrit-maven.commondatastorage.googleapis.com</url>
-    </pluginRepository>
-  </pluginRepositories>
-
   <distributionManagement>
     <repository>
-      <id>gerrit-maven-repository</id>
-      <url>gs://gerrit-maven</url>
+      <id>sonatype-nexus-staging</id>
+      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
       <uniqueVersion>true</uniqueVersion>
     </repository>
+    <snapshotRepository>
+      <id>sonatype-nexus-staging</id>
+      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+      <uniqueVersion>true</uniqueVersion>
+    </snapshotRepository>
   </distributionManagement>
 </project>