Make plugin version the same as Gerrit API version
Change-Id: Ibb3fd9686a6e597c1140283ace8235b94474459d
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
diff --git a/VERSION b/VERSION
index 63d6066..920fe49 100644
--- a/VERSION
+++ b/VERSION
@@ -1,5 +1,5 @@
# Used by BUCK to include "Implementation-Version" in plugin Manifest.
# If this file doesn't exist the output of 'git describe' is used
# instead.
-PLUGIN_VERSION = '1.0-SNAPSHOT'
+PLUGIN_VERSION = '2.11'
diff --git a/pom.xml b/pom.xml
index b484759..1cfee7c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,12 +21,12 @@
<groupId>com.googlesource.gerrit.plugins.importer</groupId>
<artifactId>importer</artifactId>
<packaging>jar</packaging>
- <version>1.0-SNAPSHOT</version>
+ <version>2.11</version>
<name>importer</name>
<properties>
<Gerrit-ApiType>plugin</Gerrit-ApiType>
- <Gerrit-ApiVersion>2.11</Gerrit-ApiVersion>
+ <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion>
</properties>
<build>