<?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">
	<parent>
		<groupId>seleniumTest</groupId>
		<artifactId>seleniumTest</artifactId>
		<version>3.2.2.CR2</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<groupId>seleniumTest</groupId>
	<artifactId>samples</artifactId>
	<name>Samples</name>
	<version>3.2.2.CR2</version>
	<build>
		<finalName>seleniumTest</finalName>
		<plugins>
			<plugin>
				<groupId>org.codehaus.cargo</groupId>
				<artifactId>cargo-maven2-plugin</artifactId>
				<version>0.3.1</version>
				<dependencies></dependencies>
				<configuration>
					<wait>false</wait>
					<container>
						<containerId>jetty6x</containerId>
						<dependencies>
							<dependency>
								<groupId>javax.el</groupId>
								<artifactId>el-api</artifactId>
							</dependency>
							<dependency>
								<groupId>el-impl</groupId>
								<artifactId>el-impl</artifactId>
							</dependency>
						</dependencies>
						<type>embedded</type>
					</container>
					<configuration>
						<properties>
							<cargo.servlet.port>
								${http.port}
							</cargo.servlet.port>
						</properties>
					</configuration>
				</configuration>
				<executions>
					<execution>
						<id>start-container</id>
						<phase>pre-integration-test</phase>
						<goals>
							<goal>start</goal>
						</goals>
					</execution>
					<execution>
						<id>stop-container</id>
						<phase>post-integration-test</phase>
						<goals>
							<goal>stop</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.4.3</version>
				<configuration>
					<!-- Skip the normal tests, we'll run them in the integration-test phase -->
					<skip>true</skip>
					<suiteXmlFiles>
						<suiteXmlFile>
							${project.build.directory}/test-classes/testng/testng.xml
						</suiteXmlFile>
					</suiteXmlFiles>
				</configuration>
				<executions>
					<execution>
						<phase>integration-test</phase>
						<goals>
							<goal>test</goal>
						</goals>
						<configuration>
							<skip>false</skip>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>