-
Notifications
You must be signed in to change notification settings - Fork 10
/
pom.xml
69 lines (65 loc) · 2.12 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>swat</groupId>
<artifactId>mini</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>swat</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<selenium-version>2.31.0</selenium-version>
<testng-version>6.4</testng-version>
<java-version>1.6</java-version>
<suite.file>ui-smoke-suite.xml</suite.file>
<screenshot.path>${project.build.directory}/surefire-reports/screenshots/</screenshot.path>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java-version}</source>
<target>${java-version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<argLine>-Xmx1024m -Xms128M -XX:MaxPermSize=128M -DscreenshotPath=${screenshot.path} -Dintegra=${integra}</argLine>
<suiteXmlFiles>
<suiteXmlFile>${suite.file}</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.8</version>
<configuration>
<wtpversion>2.0</wtpversion>
<buildOutputDirectory>
${basedir}/eclipse-target
</buildOutputDirectory>
<workspace>${basedir}/..</workspace>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>${selenium-version}</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${testng-version}</version>
</dependency>
</dependencies>
</project>