Merge branch 'stable-2.9'

* stable-2.9:
  Update repository in pom.xml of plugin archetypes
  Release documentation: Add URL to Gerrit artifacts on Maven Central

Change-Id: Ic68d210412841b04831a7a865fb8fc1232c8138f
This commit is contained in:
Edwin Kempin 2014-06-04 15:21:52 +02:00
commit 939ad08358
4 changed files with 16 additions and 20 deletions

View File

@ -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]]

View File

@ -83,15 +83,13 @@ limitations under the License.
<scope>provided</scope>
</dependency>
</dependencies>
#if ($gerritApiVersion.endsWith("SNAPSHOT"))
<repositories>
<repository>
<id>gerrit-api-repository</id>
#if ($gerritApiVersion.endsWith("SNAPSHOT"))
<url>https://gerrit-api.storage.googleapis.com/snapshot/</url>
#else
<url>https://gerrit-api.storage.googleapis.com/release/</url>
#end
<id>snapshot-repository</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
#end
</project>

View File

@ -111,15 +111,13 @@ limitations under the License.
<scope>provided</scope>
</dependency>
</dependencies>
#if ($gerritApiVersion.endsWith("SNAPSHOT"))
<repositories>
<repository>
<id>gerrit-api-repository</id>
#if ($gerritApiVersion.endsWith("SNAPSHOT"))
<url>https://gerrit-api.storage.googleapis.com/snapshot/</url>
#else
<url>https://gerrit-api.storage.googleapis.com/release/</url>
#end
<id>snapshot-repository</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
#end
</project>

View File

@ -108,15 +108,13 @@ limitations under the License.
<scope>test</scope>
</dependency>
</dependencies>
#if ($gerritApiVersion.endsWith("SNAPSHOT"))
<repositories>
<repository>
<id>gerrit-api-repository</id>
#if ($gerritApiVersion.endsWith("SNAPSHOT"))
<url>https://gerrit-api.storage.googleapis.com/snapshot/</url>
#else
<url>https://gerrit-api.storage.googleapis.com/release/</url>
#end
<id>snapshot-repository</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
#end
</project>