Depend on asterix-opt-bom with same version as AsterixDB itself

Change-Id: Ifd5b95bc052c87419d0e925e46f7741b97cc1132
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1137
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mblow@apache.org>
diff --git a/asterixdb/asterix-server/pom.xml b/asterixdb/asterix-server/pom.xml
index 0897145..58b0393 100644
--- a/asterixdb/asterix-server/pom.xml
+++ b/asterixdb/asterix-server/pom.xml
@@ -176,7 +176,7 @@
         <dependency>
           <groupId>org.apache.asterix</groupId>
           <artifactId>asterix-opt-bom</artifactId>
-          <version>0.1-SNAPSHOT</version>
+          <version>${project.version}</version>
           <type>pom</type>
         </dependency>
       </dependencies>