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 link:https://oss.sonatype.org/[Sonatype Nexus Server], select it and
click on `Release`. 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 ** It may take up to 2 hours until the artifacts appear on Maven
Central: Central:
+ +
https://oss.sonatype.org/content/repositories/releases/com/google/gerrit/ http://central.maven.org/maven2/com/google/gerrit/
[[push-stable]] [[push-stable]]

View File

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

View File

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

View File

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