<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>org.jboss.test.richfaces-selenium</groupId>
		<artifactId>functional-test-template</artifactId>
		<version>1.5.2.SP2</version>
	</parent>
	<groupId>org.jboss.test.richfaces-selenium</groupId>
	<artifactId>functional-test-jboss-ci-template</artifactId>
	<packaging>pom</packaging>
	<name>RichFaces-Selenium: Functional Test Template for JBoss Continuous Integration Environment</name>

	<profiles>
		<profile>
			<id>profile-test-not-empty</id>
			<activation>
				<property>
					<name>profile.test</name>
					<value>!</value>
				</property>
			</activation>
			<properties>
				<test>${profile.test}</test>
			</properties>
		</profile>
		<profile>
			<id>profile-deployable-version-not-empty</id>
			<activation>
				<property>
					<name>profile.deployable.version</name>
					<value>!</value>
				</property>
			</activation>
			<properties>
				<deployable.version>${profile.deployable.version}</deployable.version>
			</properties>
		</profile>

		<!-- INTERNET EXPLORER PROFILE -->
		<profile>
			<id>browser-internet-explorer</id>
			<activation>
				<os>
					<family>windows</family>
				</os>
				<property>
					<name>profile.browser</name>
					<value>internet-explorer</value>
				</property>
			</activation>
			<properties>
				<browser>*piiexplore</browser>
			</properties>
		</profile>

		<!--  FIREFOX VERSION MATRIX -->
		<profile>
			<id>browser-firefox-2</id>
			<activation>
				<property>
					<name>profile.browser</name>
					<value>firefox-2</value>
				</property>
			</activation>
			<properties>
				<browser.version>2.0.0.20</browser.version>
				<browser>${browser.firefox}</browser>
			</properties>
		</profile>
		<profile>
			<id>browser-firefox-3.0</id>
			<activation>
				<property>
					<name>profile.browser</name>
					<value>firefox-3.0</value>
				</property>
			</activation>
			<properties>
				<browser.version>3.0.14</browser.version>
				<browser>${browser.firefox}</browser>
			</properties>
		</profile>
		<profile>
			<id>browser-firefox-3.5</id>
			<activation>
				<property>
					<name>profile.browser</name>
					<value>firefox-3.5</value>
				</property>
			</activation>
			<properties>
				<browser.version>3.5.9</browser.version>
				<browser>${browser.firefox}</browser>
			</properties>
		</profile>
		<profile>
			<id>browser-firefox-3.6.3</id>
			<activation>
				<property>
					<name>profile.browser</name>
					<value>firefox-3.6</value>
				</property>
			</activation>
			<properties>
				<browser.version>3.6.3</browser.version>
				<browser>${browser.firefox}</browser>
			</properties>
		</profile>

		<!-- FIREFOX OS DENPENDENT -->
		<profile>
			<id>firefoxes-home-linux</id>
			<activation>
				<os>
					<family>unix</family>
				</os>
			</activation>
			<properties>
				<firefoxes.home>/qa/tools/opt</firefoxes.home>
				<browser.firefox>*firefox
					${firefoxes.home}/firefox-${browser.version}/firefox-bin</browser.firefox>
			</properties>
		</profile>
		<profile>
			<id>firefoxes-home-windows</id>
			<activation>
				<os>
					<family>windows</family>
				</os>
			</activation>
			<properties>
				<firefoxes.home>T:\opt\windows</firefoxes.home>
				<browser.firefox>*firefox
					${firefoxes.home}\firefox-${browser.version}\firefox.exe</browser.firefox>
			</properties>
		</profile>

		<!-- CONTAINER INSTALLATION -->
		<profile>
			<id>container-tomcat6x-installation-jboss-ci</id>
			<activation>
				<property>
					<name>containerId</name>
					<value>tomcat6x</value>
				</property>
			</activation>
			<properties>
				<jbci.container.version>6.0.26</jbci.container.version>
				<jbci.container.installer.url.unix>file:/qa/tools/src/apache/apache-tomcat-${jbci.container.version}.zip</jbci.container.installer.url.unix>
				<jbci.container.installer.url.windows>file:t:\src\apache\apache-tomcat-${jbci.container.version}.zip</jbci.container.installer.url.windows>
				<jbci.container.dir>apache-tomcat-${jbci.container.version}</jbci.container.dir>
				<jbci.container.dir.deflatted>${jbci.container.dir}</jbci.container.dir.deflatted>
				<jbci.container.dir.unflatted>${jbci.container.dir}</jbci.container.dir.unflatted>
			</properties>
		</profile>
		<profile>
			<id>container-jboss5x-installation-jboss-ci</id>
			<activation>
				<property>
					<name>containerId</name>
					<value>jboss5x</value>
				</property>
			</activation>
			<properties>
				<jbci.container.version>5.1.0.GA</jbci.container.version>
				<jbci.container.installer.url.unix>file:/qa/tools/src/jboss/jboss-${jbci.container.version}.zip</jbci.container.installer.url.unix>
				<jbci.container.installer.url.windows>file:t:\src\jboss\jboss-${jbci.container.version}.zip</jbci.container.installer.url.windows>
				<jbci.container.dir>jboss-${jbci.container.version}</jbci.container.dir>
				<jbci.container.dir.deflatted>${jbci.container.dir}</jbci.container.dir.deflatted>
				<jbci.container.dir.unflatted>${jbci.container.dir}</jbci.container.dir.unflatted>
				<jbci.container.configuration>default</jbci.container.configuration>
			</properties>
		</profile>
		<profile>
			<id>container-container-installation-jboss-ci</id>
			<activation>
				<property>
					<name>containerId</name>
					<value>jboss6x</value>
				</property>
			</activation>
			<properties>
				<jbci.container.short.version>6.0.0.CR1</jbci.container.short.version>
				<jbci.container.version>6.0.0.20101110-CR1</jbci.container.version>
				<jbci.container.installer.url.unix>file:/qa/tools/src/jboss/jboss-${jbci.container.short.version}.zip</jbci.container.installer.url.unix>
				<jbci.container.installer.url.windows>file:t:\src\jboss\jboss-${jbci.container.short.version}.zip</jbci.container.installer.url.windows>
				<jbci.container.dir>jboss-${jbci.container.short.version}</jbci.container.dir>
				<jbci.container.dir.deflatted>${jbci.container.dir}</jbci.container.dir.deflatted>
				<jbci.container.dir.unflatted>jboss-${jbci.container.version}</jbci.container.dir.unflatted>
				<jbci.container.configuration>default</jbci.container.configuration>
			</properties>
		</profile>
		<profile>
			<id>container-installation-unix-jboss-ci</id>
			<activation>
				<property>
					<name>JBOSSCI_UNIX</name>
				</property>
			</activation>
			<properties>
				<container.version>${jbci.container.version}</container.version>
				<container.installer.url>${jbci.container.installer.url.unix}</container.installer.url>
				<container.dir>${jbci.container.dir}</container.dir>
				<container.dir.deflatted>${jbci.container.dir.deflatted}</container.dir.deflatted>
				<container.dir.unflatted>${jbci.container.dir.unflatted}</container.dir.unflatted>
				<container.configuration>${jbci.container.configuration}</container.configuration>
			</properties>
		</profile>
		<profile>
			<id>container-installation-windows-jboss-ci</id>
			<activation>
				<property>
					<name>JBOSSCI_WINDOWS</name>
				</property>
			</activation>
			<properties>
				<container.version>${jbci.container.version}</container.version>
				<container.installer.url>${jbci.container.installer.url.windows}</container.installer.url>
				<container.dir>${jbci.container.dir}</container.dir>
				<container.dir.deflatted>${jbci.container.dir.deflatted}</container.dir.deflatted>
				<container.dir.unflatted>${jbci.container.dir.unflatted}</container.dir.unflatted>
				<container.configuration>${jbci.container.configuration}</container.configuration>
			</properties>
		</profile>
	</profiles>
</project>