diff --git a/gerrit-plugin-archetype/src/main/resources/archetype-resources/pom.xml b/gerrit-plugin-archetype/src/main/resources/archetype-resources/pom.xml
index 8060182c1a..17c972210d 100644
--- a/gerrit-plugin-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/gerrit-plugin-archetype/src/main/resources/archetype-resources/pom.xml
@@ -83,15 +83,13 @@ limitations under the License.
provided
+#if ($gerritApiVersion.endsWith("SNAPSHOT"))
- gerrit-api-repository
-#if ($gerritApiVersion.endsWith("SNAPSHOT"))
- https://gerrit-api.storage.googleapis.com/snapshot/
-#else
- https://gerrit-api.storage.googleapis.com/release/
-#end
+ snapshot-repository
+ https://oss.sonatype.org/content/repositories/snapshots/
+#end
diff --git a/gerrit-plugin-gwt-archetype/src/main/resources/archetype-resources/pom.xml b/gerrit-plugin-gwt-archetype/src/main/resources/archetype-resources/pom.xml
index cc9c981974..098d071b44 100644
--- a/gerrit-plugin-gwt-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/gerrit-plugin-gwt-archetype/src/main/resources/archetype-resources/pom.xml
@@ -111,15 +111,13 @@ limitations under the License.
provided
+#if ($gerritApiVersion.endsWith("SNAPSHOT"))
- gerrit-api-repository
-#if ($gerritApiVersion.endsWith("SNAPSHOT"))
- https://gerrit-api.storage.googleapis.com/snapshot/
-#else
- https://gerrit-api.storage.googleapis.com/release/
-#end
+ snapshot-repository
+ https://oss.sonatype.org/content/repositories/snapshots/
+#end
diff --git a/gerrit-plugin-js-archetype/src/main/resources/archetype-resources/pom.xml b/gerrit-plugin-js-archetype/src/main/resources/archetype-resources/pom.xml
index cc513c2f28..ac692ff3a1 100644
--- a/gerrit-plugin-js-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/gerrit-plugin-js-archetype/src/main/resources/archetype-resources/pom.xml
@@ -108,15 +108,13 @@ limitations under the License.
test
+#if ($gerritApiVersion.endsWith("SNAPSHOT"))
- gerrit-api-repository
-#if ($gerritApiVersion.endsWith("SNAPSHOT"))
- https://gerrit-api.storage.googleapis.com/snapshot/
-#else
- https://gerrit-api.storage.googleapis.com/release/
-#end
+ snapshot-repository
+ https://oss.sonatype.org/content/repositories/snapshots/
+#end