|
22 | 22 | <properties>
|
23 | 23 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
24 | 24 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
25 | | - <selenium.version>2.53.0</selenium.version> |
| 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> |
26 | 29 | <hamcrest-version>1.3</hamcrest-version>
|
27 | | - <testng.version>6.9.10</testng.version> |
28 | | - <fasterxml.jackson.version>2.6.4</fasterxml.jackson.version> |
29 | | - <phantomjsdriver.version>1.2.1</phantomjsdriver.version> |
30 | | - <browsermob.version>2.1.0-beta-3</browsermob.version> |
31 | | - <rest.assured.version>2.8.0</rest.assured.version> |
32 | | - <extentreports.version>2.40.1</extentreports.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> |
33 | 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> |
34 | 42 | <jdk.version>1.8</jdk.version>
|
35 | | - <maven.compiler.version>2.3.2</maven.compiler.version> |
| 43 | + <maven.compiler.version>3.5.1</maven.compiler.version> |
36 | 44 | <overwrite.binaries>false</overwrite.binaries>
|
37 | | - <browser>firefox</browser> |
| 45 | + <browser>chrome</browser> |
38 | 46 | <seleniumUrl>https://www.google.com</seleniumUrl>
|
39 | 47 | <threads>1</threads>
|
40 | 48 | <remote>false</remote>
|
|
50 | 58 | <dependency>
|
51 | 59 | <groupId>junit</groupId>
|
52 | 60 | <artifactId>junit</artifactId>
|
53 | | - <version>4.12</version> |
| 61 | + <version>${junit.version}</version> |
54 | 62 | </dependency>
|
55 | 63 | <dependency>
|
56 | 64 | <groupId>net.lightbody.bmp</groupId>
|
|
91 | 99 | <groupId>org.seleniumhq.selenium</groupId>
|
92 | 100 | <artifactId>selenium-java</artifactId>
|
93 | 101 | <version>${selenium.version}</version>
|
| 102 | + <exclusions> |
| 103 | + <exclusion> |
| 104 | + <groupId>com.github.detro.ghostdriver</groupId> |
| 105 | + <artifactId>phantomjsdriver</artifactId> |
| 106 | + </exclusion> |
| 107 | + </exclusions> |
94 | 108 | </dependency>
|
95 | 109 | <dependency>
|
96 | 110 | <groupId>org.seleniumhq.selenium</groupId>
|
97 | 111 | <artifactId>selenium-remote-driver</artifactId>
|
98 | 112 | <version>${selenium.version}</version>
|
99 | 113 | </dependency>
|
| 114 | + <dependency> |
| 115 | + <groupId>com.codeborne</groupId> |
| 116 | + <artifactId>phantomjsdriver</artifactId> |
| 117 | + <version>${phantomjsdriver.version}</version> |
| 118 | + </dependency> |
100 | 119 | <dependency>
|
101 | 120 | <groupId>org.testng</groupId>
|
102 | 121 | <artifactId>testng</artifactId>
|
103 | 122 | <version>${testng.version}</version>
|
104 | 123 | </dependency>
|
105 | | - <dependency> |
106 | | - <groupId>org.seleniumhq.selenium</groupId> |
107 | | - <artifactId>selenium-chrome-driver</artifactId> |
108 | | - <version>${selenium.version}</version> |
109 | | - </dependency> |
110 | | - <dependency> |
111 | | - <groupId>org.seleniumhq.selenium</groupId> |
112 | | - <artifactId>selenium-firefox-driver</artifactId> |
113 | | - <version>${selenium.version}</version> |
114 | | - </dependency> |
115 | | - <dependency> |
116 | | - <groupId>org.seleniumhq.selenium</groupId> |
117 | | - <artifactId>selenium-safari-driver</artifactId> |
118 | | - <version>${selenium.version}</version> |
119 | | - </dependency> |
120 | | - <dependency> |
121 | | - <groupId>org.seleniumhq.selenium</groupId> |
122 | | - <artifactId>selenium-ie-driver</artifactId> |
123 | | - <version>${selenium.version}</version> |
124 | | - </dependency> |
125 | | - <dependency> |
126 | | - <groupId>org.seleniumhq.selenium</groupId> |
127 | | - <artifactId>selenium-leg-rc</artifactId> |
128 | | - <version>${selenium.version}</version> |
129 | | - </dependency> |
130 | 124 | <dependency>
|
131 | 125 | <groupId>com.relevantcodes</groupId>
|
132 | 126 | <artifactId>extentreports</artifactId>
|
133 | 127 | <version>${extentreports.version}</version>
|
134 | 128 | </dependency>
|
135 | | - <dependency> |
136 | | - <groupId>com.codeborne</groupId> |
137 | | - <artifactId>phantomjsdriver</artifactId> |
138 | | - <version>${phantomjsdriver.version}</version> |
139 | | - </dependency> |
140 | 129 | <dependency>
|
141 | 130 | <groupId>mysql</groupId>
|
142 | 131 | <artifactId>mysql-connector-java</artifactId>
|
143 | | - <version>5.1.38</version> |
| 132 | + <version>${mysql.version}</version> |
144 | 133 | </dependency>
|
145 | 134 | <dependency>
|
146 | 135 | <groupId>org.hibernate</groupId>
|
147 | 136 | <artifactId>hibernate-core</artifactId>
|
148 | | - <version>4.3.11.Final</version> |
| 137 | + <version>${hibernate.version}</version> |
149 | 138 | </dependency>
|
150 | 139 | <dependency>
|
151 | 140 | <groupId>org.hibernate</groupId>
|
152 | 141 | <artifactId>hibernate-c3p0</artifactId>
|
153 | | - <version>4.3.11.Final</version> |
| 142 | + <version>${hibernate.version}</version> |
154 | 143 | </dependency>
|
155 | 144 | <dependency>
|
156 | 145 | <groupId>xml-apis</groupId>
|
157 | 146 | <artifactId>xml-apis</artifactId>
|
158 | | - <version>1.4.01</version> |
| 147 | + <version>${xml.apis.version}</version> |
159 | 148 | </dependency>
|
160 | 149 | <dependency>
|
161 | 150 | <groupId>org.glassfish</groupId>
|
162 | 151 | <artifactId>javax.json</artifactId>
|
163 | | - <version>1.0.4</version> |
| 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> |
164 | 169 | </dependency>
|
165 | 170 | </dependencies>
|
166 | 171 |
|
|
184 | 189 | <plugin>
|
185 | 190 | <groupId>com.lazerycode.selenium</groupId>
|
186 | 191 | <artifactId>driver-binary-downloader-maven-plugin</artifactId>
|
187 | | - <version>1.0.9</version> |
| 192 | + <version>${lazerycode.version}</version> |
188 | 193 | <configuration>
|
189 | 194 | <rootStandaloneServerDirectory>${standalone.binary.root.folder}
|
190 | 195 | </rootStandaloneServerDirectory>
|
|
205 | 210 | <plugin>
|
206 | 211 | <groupId>org.apache.maven.plugins</groupId>
|
207 | 212 | <artifactId>maven-failsafe-plugin</artifactId>
|
208 | | - <version>2.18.1</version> |
| 213 | + <version>${failsafe.plugin.version}</version> |
209 | 214 | <configuration>
|
210 | 215 | <!--You can specify which TestNG groups to run-->
|
211 | 216 | <!--<groups>regression</groups>-->
|
212 | | - <!--<groups>smoke, regression</groups>--> |
| 217 | + <!--<groups>careerfeeds</groups>--> |
213 | 218 | <parallel>methods</parallel>
|
214 | 219 | <threadCount>${threads}</threadCount>
|
215 | 220 | <systemPropertyVariables>
|
|
233 | 238 | <webdriver.ie.driver>${webdriver.ie.driver}</webdriver.ie.driver>
|
234 | 239 | <!--suppress MavenModelInspection -->
|
235 | 240 | <webdriver.opera.driver>${webdriver.opera.driver}</webdriver.opera.driver>
|
| 241 | + <!--suppress MavenModelInspection --> |
| 242 | + <webdriver.gecko.driver>${webdriver.gecko.driver}</webdriver.gecko.driver> |
236 | 243 | </systemPropertyVariables>
|
237 | 244 | </configuration>
|
238 | 245 | <executions>
|
|
0 commit comments