1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5
+ <modelVersion >4.0.0</modelVersion >
6
+
7
+ <groupId >com.epam.jdi</groupId >
8
+ <artifactId >jdi-light-testng-template</artifactId >
9
+ <version >1.0.0</version >
10
+ <name >Template: JDI Light TestNG</name >
11
+
12
+ <repositories >
13
+ <repository >
14
+ <id >jitpack.io</id >
15
+ <url >https://jitpack.io</url >
16
+ </repository >
17
+ </repositories >
18
+
19
+ <properties >
20
+ <driver >chrome</driver >
21
+ <!-- driver>firefox</driver-->
22
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
23
+ <aspectj .version>1.9.5</aspectj .version>
24
+ <domain >https://jdi-testing.github.io/jdi-light/</domain >
25
+ <allure .testng>2.13.1</allure .testng>
26
+ <allure .maven>2.10.0</allure .maven>
27
+ <jetty .version>9.4.12.RC2</jetty .version>
28
+ <domain >https://jdi-testing.github.io/jdi-light/</domain >
29
+ </properties >
30
+
31
+ <dependencies >
32
+ <!-- Visual Regression Tracker-->
33
+ <dependency >
34
+ <groupId >com.github.Visual-Regression-Tracker</groupId >
35
+ <artifactId >sdk-java</artifactId >
36
+ <version >5.0.0</version >
37
+ </dependency >
38
+
39
+ <!-- JDI-->
40
+ <dependency >
41
+ <groupId >com.epam.jdi</groupId >
42
+ <artifactId >jdi-light-html</artifactId >
43
+ <version >1.3.8</version >
44
+ </dependency >
45
+
46
+ <!-- Allure-->
47
+ <dependency >
48
+ <groupId >io.qameta.allure</groupId >
49
+ <artifactId >allure-testng</artifactId >
50
+ <version >${allure.testng} </version >
51
+ </dependency >
52
+ <dependency >
53
+ <groupId >org.testng</groupId >
54
+ <artifactId >testng</artifactId >
55
+ <version >6.14.3</version >
56
+ <scope >test</scope >
57
+ </dependency >
58
+ </dependencies >
59
+
60
+ <build >
61
+ <plugins >
62
+ <plugin >
63
+ <groupId >org.apache.maven.plugins</groupId >
64
+ <artifactId >maven-compiler-plugin</artifactId >
65
+ <version >3.8.1</version >
66
+ <configuration >
67
+ <source >1.8</source >
68
+ <target >1.8</target >
69
+ </configuration >
70
+ </plugin >
71
+ <!-- Allure reporting config in parent-->
72
+ <plugin >
73
+ <groupId >org.eclipse.jetty</groupId >
74
+ <artifactId >jetty-maven-plugin</artifactId >
75
+ <version >${jetty.version} </version >
76
+ </plugin >
77
+ <plugin >
78
+ <groupId >org.apache.maven.plugins</groupId >
79
+ <artifactId >maven-surefire-plugin</artifactId >
80
+ <version >2.22.2</version >
81
+ <configuration >
82
+ <systemPropertyVariables >
83
+ <allure .results.directory>${project.build.directory} /allure-results</allure .results.directory>
84
+ </systemPropertyVariables >
85
+ <suiteXmlFiles >
86
+ <suiteXmlFile >src/test/resources/general.xml</suiteXmlFile >
87
+ </suiteXmlFiles >
88
+ <testFailureIgnore >true</testFailureIgnore >
89
+ <argLine >
90
+ -javaagent:"${settings.localRepository} /org/aspectj/aspectjweaver/${aspectj.version} /aspectjweaver-${aspectj.version} .jar"
91
+ </argLine >
92
+ </configuration >
93
+ <dependencies >
94
+ <dependency >
95
+ <groupId >org.aspectj</groupId >
96
+ <artifactId >aspectjweaver</artifactId >
97
+ <version >${aspectj.version} </version >
98
+ </dependency >
99
+ </dependencies >
100
+ </plugin >
101
+ <plugin >
102
+ <groupId >io.qameta.allure</groupId >
103
+ <artifactId >allure-maven</artifactId >
104
+ <version >${allure.maven} </version >
105
+ <configuration >
106
+ <reportVersion >2.4.1</reportVersion >
107
+ </configuration >
108
+ </plugin >
109
+ </plugins >
110
+
111
+ <resources >
112
+ <resource >
113
+ <directory >${project.basedir} /src/main/resources</directory >
114
+ </resource >
115
+ <resource >
116
+ <directory >src/test/resources</directory >
117
+ <filtering >true</filtering >
118
+ </resource >
119
+ </resources >
120
+ </build >
121
+
122
+ </project >
0 commit comments