Change default Hadoop version to 2.2.0
This change will make the default Hadoop version used throughought AsterixDB v. 2.2.0. It also introduces
dependencyManagement and parameters in the top-level POM (tlp) for easing the management of this dependency
and other dependencies that are similarly pervasive throughout the code, like commons-io and json.
Change-Id: I51e22edb56717d2100d646d5f41a769881c6c86b
Reviewed-on: http://fulliautomatix.ics.uci.edu:8443/125
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Till Westmann <westmann@gmail.com>
diff --git a/pom.xml b/pom.xml
index 21e7647..ad763e1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,8 +21,7 @@
<packaging>pom</packaging>
<properties>
- <algebricks.version>0.2.13</algebricks.version>
- <hyracks.version>0.2.13</hyracks.version>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jvm.extraargs />
<runSlowAQLTests>false</runSlowAQLTests>
@@ -33,6 +32,14 @@
<invalid.tests>**/DmlTest.java</invalid.tests>
<global.test.includes>**/*TestSuite.java,**/*Test.java,${execution.tests}</global.test.includes>
<global.test.excludes>${optimizer.tests},${metadata.tests},${invalid.tests}</global.test.excludes>
+ <!-- Versions under dependencymanagement or used in many projects via properties -->
+ <algebricks.version>0.2.14-SNAPSHOT</algebricks.version>
+ <hyracks.version>0.2.14-SNAPSHOT</hyracks.version>
+ <hadoop.version>2.2.0</hadoop.version>
+ <junit.version>4.8.1</junit.version>
+ <commons.io.version>2.4</commons.io.version>
+ <servlet.api.version>2.5</servlet.api.version>
+ <json.version>20090211</json.version>
</properties>
<build>
@@ -222,8 +229,38 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.8.1</version>
+ <version>${junit.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>2.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-yarn-common</artifactId>
+ <version>${hadoop.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-yarn-client</artifactId>
+ <version>${hadoop.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-client</artifactId>
+ <version>${hadoop.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-hdfs</artifactId>
+ <version>${hadoop.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-common</artifactId>
+ <version>${hadoop.version}</version>
+ </dependency>
<dependency>
<groupId>edu.uci.ics.hyracks</groupId>
<artifactId>algebricks-compiler</artifactId>
@@ -314,15 +351,20 @@
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
- <version>20090211</version>
+ <version>${json.version}</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
- <version>2.5</version>
+ <version>${servlet.api.version}</version>
<type>jar</type>
</dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>${commons.io.version}</version>
+ </dependency>
</dependencies>
</dependencyManagement>
</project>