1
- <project xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xmlns =" http://maven.apache.org/POM/4.0.0"
2
- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
- <modelVersion >4.0.0</modelVersion >
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
4
2
5
- <groupId >org.sayem</groupId >
6
- <artifactId >java.webdriver</artifactId >
7
- <version >1.0-SNAPSHOT</version >
8
- <packaging >jar</packaging >
3
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" 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 >
9
6
10
- <name >WebDriver</name >
11
- <url >http://maven.apache.org</url >
7
+ <groupId >org.sayem</groupId >
8
+ <artifactId >java.webdriver</artifactId >
9
+ <version >1.0-SNAPSHOT</version >
12
10
13
- <licenses >
14
- <license >
15
- <name >Apache 2</name >
16
- <url >http://www.apache.org/licenses/LICENSE-2.0.txt</url >
17
- <distribution >repo</distribution >
18
- <comments >A business-friendly OSS license</comments >
19
- </license >
20
- </licenses >
11
+ <name >java.webdriver</name >
12
+ <url >https://github.com/sayems/java.webdriver</url >
21
13
22
14
<properties >
23
15
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
24
16
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
25
- <failsafe .plugin.version>2.19.1</failsafe .plugin.version>
26
- <lazerycode .version>1.0.11</lazerycode .version>
27
- <selenium .version>3.0.1</selenium .version>
28
- <overwrite .binaries>false</overwrite .binaries>
29
- <hamcrest-version >1.3</hamcrest-version >
30
- <testng .version>6.9.13.6</testng .version>
31
- <junit .version>4.12</junit .version>
32
- <mysql .version>6.0.4</mysql .version>
33
- <hibernate .version>4.3.11.Final</hibernate .version>
34
- <fasterxml .jackson.version>2.8.3</fasterxml .jackson.version>
35
- <phantomjsdriver .version>1.3.0</phantomjsdriver .version>
36
- <browsermob .version>2.1.0-beta-6</browsermob .version>
37
- <rest .assured.version>2.9.0</rest .assured.version>
38
- <extentreports .version>2.41.1</extentreports .version>
39
- <slf4j .version>1.7.13</slf4j .version>
40
- <xml .apis.version>1.4.01</xml .apis.version>
41
- <javax .json.version>1.0.4</javax .json.version>
42
- <jdk .version>1.8</jdk .version>
43
- <maven .compiler.version>3.5.1</maven .compiler.version>
44
- <overwrite .binaries>false</overwrite .binaries>
45
- <browser >chrome</browser >
46
- <seleniumUrl >https://www.google.com</seleniumUrl >
47
- <threads >1</threads >
48
- <remote >false</remote >
49
- <seleniumGridURL />
50
- <platform />
51
- <browserVersion />
52
- <proxyEnabled >false</proxyEnabled >
53
- <proxyHost />
54
- <proxyPort />
17
+ <java .version>12</java .version>
18
+ <maven .compiler.source>${java.version} </maven .compiler.source>
19
+ <maven .compiler.target>${java.version} </maven .compiler.target>
20
+ <junit .jupiter.version>5.4.2</junit .jupiter.version>
55
21
</properties >
56
22
57
23
<dependencies >
58
24
<dependency >
59
- <groupId >junit</groupId >
60
- <artifactId >junit</artifactId >
61
- <version >${junit.version} </version >
62
- </dependency >
63
- <dependency >
64
- <groupId >net.lightbody.bmp</groupId >
65
- <artifactId >browsermob-core-littleproxy</artifactId >
66
- <version >${browsermob.version} </version >
67
- </dependency >
68
- <dependency >
69
- <groupId >com.fasterxml.jackson.core</groupId >
70
- <artifactId >jackson-core</artifactId >
71
- <version >${fasterxml.jackson.version} </version >
72
- </dependency >
73
- <dependency >
74
- <groupId >com.fasterxml.jackson.core</groupId >
75
- <artifactId >jackson-databind</artifactId >
76
- <version >${fasterxml.jackson.version} </version >
77
- </dependency >
78
- <dependency >
79
- <groupId >com.jayway.restassured</groupId >
80
- <artifactId >rest-assured</artifactId >
81
- <version >${rest.assured.version} </version >
82
- </dependency >
83
- <dependency >
84
- <groupId >org.slf4j</groupId >
85
- <artifactId >slf4j-api</artifactId >
86
- <version >${slf4j.version} </version >
87
- </dependency >
88
- <dependency >
89
- <groupId >org.slf4j</groupId >
90
- <artifactId >slf4j-log4j12</artifactId >
91
- <version >${slf4j.version} </version >
92
- </dependency >
93
- <dependency >
94
- <groupId >org.hamcrest</groupId >
95
- <artifactId >hamcrest-all</artifactId >
96
- <version >${hamcrest-version} </version >
25
+ <groupId >org.testng</groupId >
26
+ <artifactId >testng</artifactId >
27
+ <version >6.14.3</version >
28
+ <scope >test</scope >
97
29
</dependency >
98
30
<dependency >
99
31
<groupId >org.seleniumhq.selenium</groupId >
100
32
<artifactId >selenium-java</artifactId >
101
- <version >${selenium.version} </version >
102
- <exclusions >
103
- <exclusion >
104
- <groupId >com.github.detro.ghostdriver</groupId >
105
- <artifactId >phantomjsdriver</artifactId >
106
- </exclusion >
107
- </exclusions >
108
- </dependency >
109
- <dependency >
110
- <groupId >org.seleniumhq.selenium</groupId >
111
- <artifactId >selenium-remote-driver</artifactId >
112
- <version >${selenium.version} </version >
113
- </dependency >
114
- <dependency >
115
- <groupId >com.codeborne</groupId >
116
- <artifactId >phantomjsdriver</artifactId >
117
- <version >${phantomjsdriver.version} </version >
33
+ <version >3.141.59</version >
118
34
</dependency >
119
35
<dependency >
120
36
<groupId >org.testng</groupId >
121
37
<artifactId >testng</artifactId >
122
- <version >${testng.version} </version >
123
- </dependency >
124
- <dependency >
125
- <groupId >com.relevantcodes</groupId >
126
- <artifactId >extentreports</artifactId >
127
- <version >${extentreports.version} </version >
128
- </dependency >
129
- <dependency >
130
- <groupId >mysql</groupId >
131
- <artifactId >mysql-connector-java</artifactId >
132
- <version >${mysql.version} </version >
133
- </dependency >
134
- <dependency >
135
- <groupId >org.hibernate</groupId >
136
- <artifactId >hibernate-core</artifactId >
137
- <version >${hibernate.version} </version >
138
- </dependency >
139
- <dependency >
140
- <groupId >org.hibernate</groupId >
141
- <artifactId >hibernate-c3p0</artifactId >
142
- <version >${hibernate.version} </version >
143
- </dependency >
144
- <dependency >
145
- <groupId >xml-apis</groupId >
146
- <artifactId >xml-apis</artifactId >
147
- <version >${xml.apis.version} </version >
148
- </dependency >
149
- <dependency >
150
- <groupId >org.glassfish</groupId >
151
- <artifactId >javax.json</artifactId >
152
- <version >${javax.json.version} </version >
153
- </dependency >
154
- <!-- http://mvnrepository.com/artifact/net.sourceforge.jtds/jtds -->
155
- <dependency >
156
- <groupId >net.sourceforge.jtds</groupId >
157
- <artifactId >jtds</artifactId >
158
- <version >1.3.1</version >
159
- </dependency >
160
- <dependency >
161
- <groupId >com.googlecode.json-simple</groupId >
162
- <artifactId >json-simple</artifactId >
163
- <version >LATEST</version >
164
- </dependency >
165
- <dependency >
166
- <groupId >com.saucelabs</groupId >
167
- <artifactId >saucerest</artifactId >
168
- <version >1.0.33</version >
38
+ <version >6.14.3</version >
39
+ <scope >compile</scope >
169
40
</dependency >
170
41
</dependencies >
171
42
172
- <profiles >
173
- <profile >
174
- <id >selenium-tests</id >
175
- <activation >
176
- <activeByDefault >true</activeByDefault >
177
- </activation >
178
- <build >
179
- <plugins >
180
- <plugin >
181
- <groupId >org.apache.maven.plugins</groupId >
182
- <artifactId >maven-compiler-plugin</artifactId >
183
- <configuration >
184
- <source >${jdk.version} </source >
185
- <target >${jdk.version} </target >
186
- </configuration >
187
- <version >${maven.compiler.version} </version >
188
- </plugin >
189
- <plugin >
190
- <groupId >com.lazerycode.selenium</groupId >
191
- <artifactId >driver-binary-downloader-maven-plugin</artifactId >
192
- <version >${lazerycode.version} </version >
193
- <configuration >
194
- <rootStandaloneServerDirectory >${standalone.binary.root.folder}
195
- </rootStandaloneServerDirectory >
196
- <downloadedZipFileDirectory >${project.basedir} /src/test/resources/selenium_standalone_zips
197
- </downloadedZipFileDirectory >
198
- <customRepositoryMap >${project.basedir} /src/test/resources/RepositoryMap.xml
199
- </customRepositoryMap >
200
- <overwriteFilesThatExist >${overwrite.binaries} </overwriteFilesThatExist >
201
- </configuration >
202
- <executions >
203
- <execution >
204
- <goals >
205
- <goal >selenium</goal >
206
- </goals >
207
- </execution >
208
- </executions >
209
- </plugin >
210
- <plugin >
211
- <groupId >org.apache.maven.plugins</groupId >
212
- <artifactId >maven-failsafe-plugin</artifactId >
213
- <version >${failsafe.plugin.version} </version >
214
- <configuration >
215
- <!-- You can specify which TestNG groups to run-->
216
- <!-- <groups>regression</groups>-->
217
- <!-- <groups>careerfeeds</groups>-->
218
- <parallel >methods</parallel >
219
- <threadCount >${threads} </threadCount >
220
- <systemPropertyVariables >
221
- <browser >${browser} </browser >
222
- <seleniumUrl >${seleniumUrl} </seleniumUrl >
223
- <screenshotDirectory >${project.build.directory} /screenshots</screenshotDirectory >
224
- <remoteDriver >${remote} </remoteDriver >
225
- <gridURL >${seleniumGridURL} </gridURL >
226
- <desiredPlatform >${platform} </desiredPlatform >
227
- <desiredBrowserVersion >${browserVersion} </desiredBrowserVersion >
228
- <proxyEnabled >${proxyEnabled} </proxyEnabled >
229
- <proxyHost >${proxyHost} </proxyHost >
230
- <proxyPort >${proxyPort} </proxyPort >
231
-
232
- <!-- Set properties passed in by the driver binary downloader-->
233
- <!-- suppress MavenModelInspection -->
234
- <phantomjs .binary.path>${phantomjs.binary.path} </phantomjs .binary.path>
235
- <!-- suppress MavenModelInspection -->
236
- <webdriver .chrome.driver>${webdriver.chrome.driver} </webdriver .chrome.driver>
237
- <!-- suppress MavenModelInspection -->
238
- <webdriver .ie.driver>${webdriver.ie.driver} </webdriver .ie.driver>
239
- <!-- suppress MavenModelInspection -->
240
- <webdriver .opera.driver>${webdriver.opera.driver} </webdriver .opera.driver>
241
- <!-- suppress MavenModelInspection -->
242
- <webdriver .gecko.driver>${webdriver.gecko.driver} </webdriver .gecko.driver>
243
- </systemPropertyVariables >
244
- </configuration >
245
- <executions >
246
- <execution >
247
- <goals >
248
- <goal >integration-test</goal >
249
- <goal >verify</goal >
250
- </goals >
251
- </execution >
252
- </executions >
253
- </plugin >
254
- </plugins >
255
- </build >
256
- </profile >
257
- </profiles >
43
+ <build >
44
+ <plugins >
45
+ <plugin >
46
+ <groupId >org.apache.maven.plugins</groupId >
47
+ <artifactId >maven-compiler-plugin</artifactId >
48
+ <version >3.8.1</version >
49
+ <configuration >
50
+ <source >${java.version} </source >
51
+ <target >${java.version} </target >
52
+ </configuration >
53
+ </plugin >
54
+ </plugins >
55
+ </build >
258
56
</project >
0 commit comments