-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
282 lines (273 loc) · 11.4 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.example</groupId>
<artifactId>TestJobs</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<checkstyle.version>9.2.1</checkstyle.version>
<maven-checkstyle-plugin.version>3.1.2</maven-checkstyle-plugin.version>
<maven-install-plugin.version>3.0.0-M1</maven-install-plugin.version>
<maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
<allure.version>2.16.1</allure.version>
<selenium.version>4.0.0</selenium.version>
<webdrivermanager.version>5.0.3</webdrivermanager.version>
<aspectj.version>1.9.6</aspectj.version>
<assertj-core.version>3.21.0</assertj-core.version>
<testng.version>7.4.0</testng.version>
<cucumber-java.version>7.0.0</cucumber-java.version>
<cucumber-testng.version>7.0.0</cucumber-testng.version>
<jdi-light.version>1.4.4</jdi-light.version>
<lombok.version>1.18.22</lombok.version>
<json.version>20210307</json.version>
</properties>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${testng.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj-core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>${webdrivermanager.version}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>${selenium.version}</version>
</dependency>
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-testng</artifactId>
<version>${allure.version}</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-java</artifactId>
<version>${cucumber-java.version}</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-testng</artifactId>
<version>${cucumber-testng.version}</version>
</dependency>
<dependency>
<groupId>com.epam.jdi</groupId>
<artifactId>jdi-light-html</artifactId>
<version>${jdi-light.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>${json.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle-plugin.version}</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
</dependencies>
<configuration>
<configLocation>
<!-- pay attention to use exact url for checkstyle plugin ruleset -->
https://raw.githubusercontent.com/DmitryKhodakovsky/epam-training-center-code-checkers-configurations/main/checkstyle/checkstyle.xml
</configLocation>
<encoding>${project.build.sourceEncoding}</encoding>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<argLine>
-javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
</argLine>
<suiteXmlFiles>
<suiteXmlFile>${suite.xml.name}</suiteXmlFile>
</suiteXmlFiles>
</configuration>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${maven-install-plugin.version}</version>
<executions>
<execution>
<id>install-external-non-maven-jar-MWS-Client-into-local-maven-repo</id>
<phase>initialize</phase>
<configuration>
<groupId>calculator</groupId>
<artifactId>calculator</artifactId>
<version>1.0</version>
<file>${project.basedir}/src/main/resources/com/epam/tc/hw1/libs/calculator-1.0.jar</file>
<packaging>jar</packaging>
<generatePom>true</generatePom>
</configuration>
<goals>
<goal>install-file</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>hw1-all-calculator-test-suite</id>
<properties>
<suite.xml.name>
${project.basedir}/src/test/resources/com/epam/tc/hw1/suites/AllCalculatorTestSuite.XML
</suite.xml.name>
</properties>
</profile>
<profile>
<id>hw1-add-sub-calculator-test-suite</id>
<properties>
<suite.xml.name>
${project.basedir}/src/test/resources/com/epam/tc/hw1/suites/AddSubCalculatorTestSuite.XML
</suite.xml.name>
</properties>
</profile>
<profile>
<id>hw1-mul-div-calculator-test-suite</id>
<properties>
<suite.xml.name>
${project.basedir}/src/test/resources/com/epam/tc/hw1/suites/MulDivCalculatorTestSuite.XML
</suite.xml.name>
</properties>
</profile>
<profile>
<id>hw2-all-exercises-test-suite</id>
<properties>
<suite.xml.name>${project.basedir}/src/test/resources/com/epam/tc/hw2/suites/AllExercisesTestSuite.XML
</suite.xml.name>
</properties>
</profile>
<profile>
<id>hw2-exercise1-test-suite</id>
<properties>
<suite.xml.name>${project.basedir}/src/test/resources/com/epam/tc/hw2/suites/Ex1TestSuite.XML
</suite.xml.name>
</properties>
</profile>
<profile>
<id>hw2-exercise2-test-suite</id>
<properties>
<suite.xml.name>${project.basedir}/src/test/resources/com/epam/tc/hw2/suites/Ex2TestSuite.XML
</suite.xml.name>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>hw3-all-exercises-test-suite</id>
<properties>
<suite.xml.name>${project.basedir}/src/test/resources/com/epam/tc/hw3/suites/AllExercisesTestSuite.XML
</suite.xml.name>
</properties>
</profile>
<profile>
<id>hw3-exercise1-test-suite</id>
<properties>
<suite.xml.name>${project.basedir}/src/test/resources/com/epam/tc/hw3/suites/Ex1TestSuite.XML
</suite.xml.name>
</properties>
</profile>
<profile>
<id>hw3-exercise2-test-suite</id>
<properties>
<suite.xml.name>${project.basedir}/src/test/resources/com/epam/tc/hw3/suites/Ex2TestSuite.XML
</suite.xml.name>
</properties>
</profile>
<profile>
<id>hw4-all-exercises-test-suite</id>
<properties>
<suite.xml.name>${project.basedir}/src/test/resources/com/epam/tc/hw4/suites/AllExercisesTestSuite.XML
</suite.xml.name>
</properties>
</profile>
<profile>
<id>hw5-all-exercises-test-suite</id>
<properties>
<suite.xml.name>${project.basedir}/src/test/resources/com/epam/tc/hw5/suites/AllExercisesTestSuite.XML
</suite.xml.name>
</properties>
</profile>
<profile>
<id>hw6-all-exercises-test-suite</id>
<properties>
<suite.xml.name>${project.basedir}/src/test/resources/com/epam/tc/hw6/suites/AllExercisesTestSuite.XML
</suite.xml.name>
</properties>
</profile>
<profile>
<id>hw7-test-suite</id>
<properties>
<suite.xml.name>${project.basedir}/src/test/resources/com/epam/tc/hw7/suites/Hw7TestSuite.XML
</suite.xml.name>
</properties>
</profile>
</profiles>
<reporting>
<excludeDefaults>true</excludeDefaults>
<plugins>
<plugin>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-maven</artifactId>
<version>2.10.0</version>
<configuration>
<reportVersion>${allure.version}</reportVersion>
</configuration>
</plugin>
</plugins>
</reporting>
</project>