<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>eu.stratosphere</groupId>
		<artifactId>stratosphere</artifactId>
		<version>0.4-rc1</version>
		<relativePath>..</relativePath>
	</parent>

	<artifactId>stratosphere-addons</artifactId>
	<name>stratosphere-addons</name>
	<packaging>pom</packaging>

	<modules>
		<module>array-datamodel</module>
		<!-- To come here: hbase-simple, jdbc, sequenceFile, avro -->
		<module>jdbc</module>
		<module>spargel</module>
		<module>swt-visualization</module>
	</modules>
	
	<!-- See main pom.xml for explanation of profiles -->
	<profiles>
		<profile>
			<id>hadoop-1</id>
			<activation>
				<property>
					<!-- Please do not remove the 'hadoop1' comment. See ./tools/generate_specific_pom.sh -->
					<!--hadoop1--><name>!hadoop.profile</name>
				</property>
			</activation>
			<modules>
				<!-- No extra modules: pact-hbase is currently not compatible with Hadoop v1 -->
			</modules>
		</profile>
		<profile>
			<id>hadoop-2</id>
			<activation>
				<property>
					<!-- Please do not remove the 'hadoop1' comment. See ./tools/generate_specific_pom.sh -->
					<!--hadoop2--><name>hadoop.profile</name><value>2</value>
				</property>
			</activation>
			<modules>
				<module>hbase</module>
			</modules>
		</profile>
		<profile>
			<id>include-yarn</id>
			<activation>
				<property>
					<!-- Please do not remove the 'hadoop1' comment. See ./tools/generate_specific_pom.sh -->
					<!--hadoop2--><name>hadoop.profile</name><value>2</value>
				</property>
			</activation>
			<modules>
				<module>yarn</module>
			</modules>
		</profile>
	</profiles>

</project>
