Add profile for provided libs
diff --git a/pom.xml b/pom.xml
index f4c0e92..5d66836 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,9 +45,24 @@
   <properties>
     <Gerrit-ApiType>plugin</Gerrit-ApiType>
     <Gerrit-ApiVersion>2.8.3</Gerrit-ApiVersion>
+    <amqp-client.version>3.2.2</amqp-client.version>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   </properties>
 
+  <profiles>
+    <profile>
+      <id>2.8</id>
+      <properties>
+        <gson.version>2.1</gson.version>
+        <commons-lang.version>2.5</commons-lang.version>
+        <commons-codec.version>1.4</commons-codec.version>
+      </properties>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+    </profile>
+  </profiles>
+
   <build>
     <plugins>
       <plugin>
@@ -124,25 +139,25 @@
     <dependency>
       <groupId>com.google.code.gson</groupId>
       <artifactId>gson</artifactId>
-      <version>2.1</version>
+      <version>${gson.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>commons-lang</groupId>
       <artifactId>commons-lang</artifactId>
-      <version>2.5</version>
+      <version>${commons-lang.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>commons-codec</groupId>
       <artifactId>commons-codec</artifactId>
-      <version>1.4</version>
+      <version>${commons-codec.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>com.rabbitmq</groupId>
       <artifactId>amqp-client</artifactId>
-      <version>3.2.2</version>
+      <version>${amqp-client.version}</version>
     </dependency>
   </dependencies>