Make plugin version same as API version

Change-Id: I386515e900618e6efeef23027bcddaa329c4981c
diff --git a/pom.xml b/pom.xml
index 228453c..5e71052 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,12 +5,12 @@
   <modelVersion>4.0.0</modelVersion>
   <artifactId>gravatar-avatar-provider</artifactId>
   <groupId>com.googlesource.gerrit.plugins.avatar_providers</groupId>
-  <version>1.0-SNAPSHOT</version>
+  <version>2.8</version>
   <packaging>jar</packaging>
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <Gerrit-ApiType>PLUGIN</Gerrit-ApiType>
-    <Gerrit-ApiVersion>2.8</Gerrit-ApiVersion>
+    <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion>
   </properties>
 
   <build>