Build with API version 2.11 and consume from Maven Central
Change-Id: I8136b67578843672c860c224082b48047692472e
diff --git a/lib/gerrit/BUCK b/lib/gerrit/BUCK
index 89c75df..3d891ea 100644
--- a/lib/gerrit/BUCK
+++ b/lib/gerrit/BUCK
@@ -1,7 +1,7 @@
include_defs('//bucklets/maven_jar.bucklet')
-VER = '2.11-SNAPSHOT'
-REPO = MAVEN_LOCAL
+VER = '2.11'
+REPO = MAVEN_CENTRAL
maven_jar(
name = 'plugin-api',
diff --git a/pom.xml b/pom.xml
index b765d38..5280bc9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
<groupId>com.googlesource.gerrit.plugins</groupId>
<artifactId>cookbook-plugin</artifactId>
<packaging>jar</packaging>
- <version>2.11-SNAPSHOT</version>
+ <version>2.11</version>
<properties>
<Gerrit-ApiType>plugin</Gerrit-ApiType>
<Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion>
@@ -117,8 +117,8 @@
<repositories>
<repository>
- <id>gerrit-api-repository</id>
- <url>https://gerrit-api.commondatastorage.googleapis.com/release/</url>
+ <id>maven.org</id>
+ <url>http://repo1.maven.org/maven2</url>
</repository>
</repositories>
</project>