|
12 | 12 | <name>ays-fe-ui-automation</name>
|
13 | 13 |
|
14 | 14 | <properties>
|
15 |
| - |
16 | 15 | <java.version>17</java.version>
|
17 | 16 | <maven.compiler.source>${java.version}</maven.compiler.source>
|
18 | 17 | <maven.compiler.target>${java.version}</maven.compiler.target>
|
19 | 18 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
20 | 19 |
|
21 |
| - <selenium-java.version>4.24.0</selenium-java.version> |
22 |
| - <cucumber-java.version>7.18.1</cucumber-java.version> |
23 |
| - <testng.version>7.10.2</testng.version> |
24 |
| - <cucumber-testng.version>7.18.1</cucumber-testng.version> |
| 20 | + <selenium-java.version>4.31.0</selenium-java.version> |
| 21 | + <cucumber.version>7.22.0</cucumber.version> |
| 22 | + <testng.version>7.11.0</testng.version> |
25 | 23 | <extentreports-cucumber7-adapter.version>1.14.0</extentreports-cucumber7-adapter.version>
|
26 |
| - <mysql-connector-j.version>9.0.0</mysql-connector-j.version> |
27 |
| - <lombok.version>1.18.34</lombok.version> |
| 24 | + <lombok.version>1.18.38</lombok.version> |
28 | 25 | <jquery.version>3.7.1</jquery.version>
|
29 |
| - <gson.version>2.11.0</gson.version> |
30 |
| - <snakeyaml.version>2.3</snakeyaml.version> |
| 26 | + <gson.version>2.13.0</gson.version> |
| 27 | + <snakeyaml.version>2.4</snakeyaml.version> |
31 | 28 | <javafaker.version>1.0.2</javafaker.version>
|
32 | 29 | <junit.version>4.13.2</junit.version>
|
33 |
| - <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version> |
34 |
| - <maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version> |
35 |
| - <logback-classic.version>1.5.8</logback-classic.version> |
| 30 | + <maven-surfire.version>3.5.2</maven-surfire.version> |
| 31 | + <maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version> |
| 32 | + <logback-classic.version>1.5.18</logback-classic.version> |
36 | 33 | <commons-compress.version>1.27.1</commons-compress.version>
|
37 | 34 | </properties>
|
38 | 35 |
|
|
47 | 44 | <dependency>
|
48 | 45 | <groupId>io.cucumber</groupId>
|
49 | 46 | <artifactId>cucumber-java</artifactId>
|
50 |
| - <version>${cucumber-java.version}</version> |
| 47 | + <version>${cucumber.version}</version> |
51 | 48 | <scope>test</scope>
|
52 | 49 | </dependency>
|
53 | 50 |
|
54 | 51 | <dependency>
|
55 | 52 | <groupId>org.testng</groupId>
|
56 | 53 | <artifactId>testng</artifactId>
|
57 | 54 | <version>${testng.version}</version>
|
| 55 | + <scope>test</scope> |
58 | 56 | <exclusions>
|
59 | 57 | <exclusion>
|
60 | 58 | <groupId>org.webjars</groupId>
|
|
65 | 63 | <artifactId>slf4j-api</artifactId>
|
66 | 64 | </exclusion>
|
67 | 65 | </exclusions>
|
68 |
| - <scope>test</scope> |
69 | 66 | </dependency>
|
70 | 67 |
|
71 | 68 | <dependency>
|
72 | 69 | <groupId>io.cucumber</groupId>
|
73 | 70 | <artifactId>cucumber-testng</artifactId>
|
74 |
| - <version>${cucumber-testng.version}</version> |
| 71 | + <version>${cucumber.version}</version> |
75 | 72 | <scope>test</scope>
|
76 | 73 | </dependency>
|
77 | 74 |
|
78 | 75 | <dependency>
|
79 | 76 | <groupId>tech.grasshopper</groupId>
|
80 | 77 | <artifactId>extentreports-cucumber7-adapter</artifactId>
|
81 | 78 | <version>${extentreports-cucumber7-adapter.version}</version>
|
| 79 | + <scope>test</scope> |
82 | 80 | <exclusions>
|
83 | 81 | <exclusion>
|
84 | 82 | <groupId>com.google.code.gson</groupId>
|
|
113 | 111 | <artifactId>cucumber-java</artifactId>
|
114 | 112 | </exclusion>
|
115 | 113 | </exclusions>
|
116 |
| - <scope>test</scope> |
117 |
| - </dependency> |
118 |
| - |
119 |
| - <dependency> |
120 |
| - <groupId>com.mysql</groupId> |
121 |
| - <artifactId>mysql-connector-j</artifactId> |
122 |
| - <version>${mysql-connector-j.version}</version> |
123 |
| - <scope>test</scope> |
124 | 114 | </dependency>
|
125 | 115 |
|
126 | 116 | <dependency>
|
|
129 | 119 | <version>${lombok.version}</version>
|
130 | 120 | <scope>test</scope>
|
131 | 121 | </dependency>
|
| 122 | + |
132 | 123 | <dependency>
|
133 | 124 | <groupId>com.github.javafaker</groupId>
|
134 | 125 | <artifactId>javafaker</artifactId>
|
135 | 126 | <version>${javafaker.version}</version>
|
| 127 | + <scope>test</scope> |
136 | 128 | <exclusions>
|
137 | 129 | <exclusion>
|
138 | 130 | <groupId>org.yaml</groupId>
|
|
143 | 135 | <artifactId>commons-lang3</artifactId>
|
144 | 136 | </exclusion>
|
145 | 137 | </exclusions>
|
146 |
| - <scope>test</scope> |
147 | 138 | </dependency>
|
| 139 | + |
148 | 140 | <dependency>
|
149 | 141 | <groupId>org.yaml</groupId>
|
150 | 142 | <artifactId>snakeyaml</artifactId>
|
151 | 143 | <version>${snakeyaml.version}</version>
|
| 144 | + <scope>test</scope> |
152 | 145 | </dependency>
|
153 | 146 |
|
154 | 147 | <dependency>
|
155 | 148 | <groupId>com.google.code.gson</groupId>
|
156 | 149 | <artifactId>gson</artifactId>
|
| 150 | + <version>${gson.version}</version> |
| 151 | + <scope>test</scope> |
157 | 152 | <exclusions>
|
158 | 153 | <exclusion>
|
159 | 154 | <groupId>com.google.errorprone</groupId>
|
160 | 155 | <artifactId>error_prone_annotations</artifactId>
|
161 | 156 | </exclusion>
|
162 | 157 | </exclusions>
|
163 |
| - <version>${gson.version}</version> |
164 | 158 | </dependency>
|
165 | 159 |
|
166 | 160 | <dependency>
|
|
179 | 173 | <groupId>org.apache.commons</groupId>
|
180 | 174 | <artifactId>commons-compress</artifactId>
|
181 | 175 | <version>${commons-compress.version}</version>
|
| 176 | + <scope>test</scope> |
182 | 177 | </dependency>
|
183 |
| - |
184 | 178 | </dependencies>
|
185 | 179 |
|
186 | 180 |
|
|
204 | 198 | </plugins>
|
205 | 199 | </build>
|
206 | 200 |
|
207 |
| - |
208 |
| - <!-- ========================== --> |
209 |
| - <!-- for pipeline compatibility --> |
210 |
| - <!-- ========================== --> |
211 |
| - |
212 | 201 | <profiles>
|
213 | 202 | <profile>
|
214 | 203 | <id>weekly</id>
|
|
217 | 206 | <plugin>
|
218 | 207 | <groupId>org.apache.maven.plugins</groupId>
|
219 | 208 | <artifactId>maven-surefire-plugin</artifactId>
|
220 |
| - <version>${maven-surefire-plugin.version}</version> |
| 209 | + <version>${maven-surfire.version}</version> |
| 210 | + <dependencies> |
| 211 | + <dependency> |
| 212 | + <groupId>org.apache.maven.surefire</groupId> |
| 213 | + <artifactId>surefire-testng</artifactId> |
| 214 | + <version>${maven-surfire.version}</version> |
| 215 | + </dependency> |
| 216 | + </dependencies> |
221 | 217 | <configuration>
|
222 | 218 | <suiteXmlFiles>
|
223 | 219 | <suiteXmlFile>src/test/resources/testsuite/RegressionTest.xml</suiteXmlFile>
|
|
234 | 230 | <plugin>
|
235 | 231 | <groupId>org.apache.maven.plugins</groupId>
|
236 | 232 | <artifactId>maven-surefire-plugin</artifactId>
|
237 |
| - <version>${maven-surefire-plugin.version}</version> |
| 233 | + <version>${maven-surfire.version}</version> |
| 234 | + <dependencies> |
| 235 | + <dependency> |
| 236 | + <groupId>org.apache.maven.surefire</groupId> |
| 237 | + <artifactId>surefire-testng</artifactId> |
| 238 | + <version>${maven-surfire.version}</version> |
| 239 | + </dependency> |
| 240 | + </dependencies> |
238 | 241 | <configuration>
|
239 | 242 | <suiteXmlFiles>
|
240 | 243 | <suiteXmlFile>src/test/resources/testsuite/SmokeTest.xml</suiteXmlFile>
|
|
0 commit comments