<project
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
	xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

	<modelVersion>4.0.0</modelVersion>

	<groupId>org.squashtest.automatisation</groupId>
	<artifactId>Iodas</artifactId>
	<packaging>jar</packaging>
	<version>0.0.1-SNAPSHOT</version>
	<url>http://maven.apache.org</url>

	<!-- Properties definition -->
	<properties>
		<!-- Squash-TA framework version used by the project -->
		<ta.framework.version>1.10.1-RELEASE</ta.framework.version>
	</properties>
	<dependencies>

		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.12</version>
			<scope>compile</scope>
		</dependency>

<!--   	<dependency>
			<groupId>org.seleniumhq.selenium</groupId>
			<artifactId>selenium-java</artifactId>
			<version>3.14.0</version>
		</dependency>
-->
<!-- 	<dependency>
			<groupId>org.squashtest.ta.plugin</groupId>
			<artifactId>squash-ta-plugin-selenium</artifactId>
			<version>${ta.framework.version}</version>
		</dependency>
-->
		<dependency>
			<groupId>com.aventstack</groupId>
			<artifactId>extentreports</artifactId>
			<version>3.0.7</version>
		</dependency>

		<dependency>
			<groupId>com.opencsv</groupId>
			<artifactId>opencsv</artifactId>
			<version>4.2</version>
		</dependency>

		<dependency>
			<groupId>org.apache.jmeter</groupId>
			<artifactId>ApacheJMeter_core</artifactId>
			<version>3.3</version>
		</dependency>

		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-all</artifactId>
			<version>1.3</version>
			<scope>test</scope>
		</dependency>

		<!-- </!> <dependency> <groupId>org.squashtest.ta.plugin</groupId> <artifactId>squash-ta-plugin-selenium</artifactId> 
			<version>${ta.framework.version}</version> </dependency> -->

	</dependencies>

	<build>
		<plugins>
			<!-- Configuration of the Squash TA framework used by the project -->
			<plugin>
				<groupId>org.squashtest.ta</groupId>
				<artifactId>squash-ta-maven-plugin</artifactId>
				<version>${ta.framework.version}</version>
				<!-- Here you can add libraries to the engine classpath, using the <dependencies></dependencies> 
					tag -->

     			<dependencies>
					<dependency>
						<groupId>org.squashtest.ta</groupId>
						<artifactId>squash-ta-plugin-parent</artifactId>
						<version>${ta.framework.version}</version>
						<exclusions>
							<exclusion>
								<groupId>org.seleniumhq.selenium</groupId>
								<artifactId>selenium-java</artifactId>
							</exclusion>
						</exclusions>
					</dependency>

					<dependency>
						<groupId>org.seleniumhq.selenium</groupId>
						<artifactId>selenium-java</artifactId>
						<version>3.14.0</version>
					</dependency>
				</dependencies>


				<!-- Under here is the Squash TA framework default configuration -->
				<configuration>

					<!-- Uncomment the line below in order to the build finish in success 
						even if a test failed (functional (assertion) failure), but fail the build 
						if an ERROR (technical failure) occurred. -->
					<!-- <mojoSuccessThreshold>FAIL</mojoSuccessThreshold> -->

					<!-- Define a log configuration file (at log4j format) to override the 
						one defined internally -->
					<!-- If the given file can't be found the engine switch to the internal 
						configuration -->
					<logConfiguration>${logConfFile}</logConfiguration>

					<!-- Define exporters -->
					<exporters>
						<surefire>
							<jenkinsAttachmentMode>${ta.jenkins.attachment.mode}</jenkinsAttachmentMode>
						</surefire>
						<html />
					</exporters>

					<!-- Define configurers -->
					<configurers>
						<tmCallBack>
							<endpointURL>${status.update.events.url}</endpointURL>
							<executionExternalId>${squash.ta.external.id}</executionExternalId>
							<jobName>${jobname}</jobName>
							<hostName>${hostname}</hostName>
							<endpointLoginConfFile>${squash.ta.conf.file}</endpointLoginConfFile>
							<reportBaseUrl>${ta.tmcallback.reportbaseurl}</reportBaseUrl>
							<jobExecutionId>${ta.tmcallback.jobexecutionid}</jobExecutionId>
							<reportName>${ta.tmcallback.reportname}</reportName>
						</tmCallBack>
					</configurers>
				</configuration>

				<!-- Bind the Squash TA "run" goal to the maven integration-test phase 
					and reuse the default configuration -->
				<executions>
					<execution>
						<goals>
							<goal>run</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

<!-- 		<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.8</source>
					<target>1.8</target>
				</configuration>
			</plugin>
-->
		</plugins>
	</build>

	<!-- Squash TA maven repository -->
	<repositories>
		<repository>
			<id>org.squashtest.ta.release</id>
			<name>squashtest test automation - releases</name>
			<url>http://repo.squashtest.org/maven2/releases/</url>
		</repository>
	</repositories>

	<!-- Squash TA maven plugin repository -->
	<pluginRepositories>
		<pluginRepository>
			<id>org.squashtest.plugins.release</id>
			<name>squashtest.org</name>
			<url>http://repo.squashtest.org/maven2/releases/</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
			<releases>
				<enabled>true</enabled>
			</releases>
		</pluginRepository>
	</pluginRepositories>

</project>