diff --git a/Documentation/dev-release.txt b/Documentation/dev-release.txt index 82edad9d85..a53bd6b2ef 100644 --- a/Documentation/dev-release.txt +++ b/Documentation/dev-release.txt @@ -274,11 +274,13 @@ Releasing artifacts to Maven Central cannot be undone! link:https://oss.sonatype.org/[Sonatype Nexus Server], select it and click on `Release`. +** The released artifacts are available in +https://oss.sonatype.org/content/repositories/releases/com/google/gerrit/ + ** It may take up to 2 hours until the artifacts appear on Maven Central: + -https://oss.sonatype.org/content/repositories/releases/com/google/gerrit/ - +http://central.maven.org/maven2/com/google/gerrit/ [[push-stable]] 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