Skip to content

Commit

Permalink
Activate hadoop1 if property hadoop is missing. hadoop2 can be activa…
Browse files Browse the repository at this point in the history
…ted now

by using -Dhadoop -Phadoop2.
  • Loading branch information
shivaram committed Jan 8, 2013
1 parent 4bbe07e commit f7adb38
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion bagel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
<profile>
<id>hadoop1</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>!hadoop</name>
</property>
</activation>
<dependencies>
<dependency>
Expand Down
4 changes: 3 additions & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@
<profile>
<id>hadoop1</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>!hadoop</name>
</property>
</activation>
<dependencies>
<dependency>
Expand Down
4 changes: 3 additions & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
<profile>
<id>hadoop1</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>!hadoop</name>
</property>
</activation>
<dependencies>
<dependency>
Expand Down
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,9 @@
<profile>
<id>hadoop1</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>!hadoop</name>
</property>
</activation>
<properties>
<hadoop.major.version>1</hadoop.major.version>
Expand Down
4 changes: 3 additions & 1 deletion repl-bin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@
<profile>
<id>hadoop1</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>!hadoop</name>
</property>
</activation>
<properties>
<classifier>hadoop1</classifier>
Expand Down
4 changes: 3 additions & 1 deletion repl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@
<profile>
<id>hadoop1</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>!hadoop</name>
</property>
</activation>
<properties>
<classifier>hadoop1</classifier>
Expand Down

0 comments on commit f7adb38

Please sign in to comment.