aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/pom.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/core/pom.xml b/core/pom.xml
index ae52c20657..ad9fdcde2c 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -159,6 +159,11 @@
<profiles>
<profile>
<id>hadoop1</id>
+ <activation>
+ <property>
+ <name>!hadoopVersion</name>
+ </property>
+ </activation>
<dependencies>
<dependency>
<groupId>org.apache.hadoop</groupId>
@@ -211,6 +216,12 @@
</profile>
<profile>
<id>hadoop2</id>
+ <activation>
+ <property>
+ <name>hadoopVersion</name>
+ <value>2</value>
+ </property>
+ </activation>
<dependencies>
<dependency>
<groupId>org.apache.hadoop</groupId>
@@ -267,4 +278,4 @@
</build>
</profile>
</profiles>
-</project> \ No newline at end of file
+</project>