Skip to content

Commit f405735

Browse files
committed
Refactoring
1 parent 1a7f23a commit f405735

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

driver/pom.xml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@
7979
<groupId>org.junit.jupiter</groupId>
8080
<artifactId>junit-jupiter</artifactId>
8181
</dependency>
82-
<dependency>
83-
<groupId>org.junit.support</groupId>
84-
<artifactId>testng-engine</artifactId>
85-
</dependency>
8682
<dependency>
8783
<groupId>org.rauschig</groupId>
8884
<artifactId>jarchivelib</artifactId>
@@ -263,6 +259,18 @@
263259
<plugin>
264260
<groupId>org.apache.maven.plugins</groupId>
265261
<artifactId>maven-failsafe-plugin</artifactId>
262+
<dependencies>
263+
<dependency>
264+
<groupId>org.apache.maven.surefire</groupId>
265+
<artifactId>surefire-junit-platform</artifactId>
266+
<version>${surefire.and.failsafe.version}</version>
267+
</dependency>
268+
<dependency>
269+
<groupId>org.apache.maven.surefire</groupId>
270+
<artifactId>surefire-testng</artifactId>
271+
<version>${surefire.and.failsafe.version}</version>
272+
</dependency>
273+
</dependencies>
266274
</plugin>
267275
</plugins>
268276
</build>

pom.xml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
<hamcrest.version>2.2</hamcrest.version>
4646
<mockito-core.version>5.4.0</mockito-core.version>
4747
<junit.version>5.10.0</junit.version>
48-
<testng-engine.version>1.0.4</testng-engine.version>
48+
<!-- supply a newer version than the one supplied by the reactive-streams 1.0.4 -->
49+
<testng.version>7.8.0</testng.version>
4950
<jarchivelib.version>1.2.0</jarchivelib.version>
5051
<bouncycastle-jdk15on.version>1.70</bouncycastle-jdk15on.version>
5152
<logback-classic.version>1.2.12</logback-classic.version>
@@ -153,16 +154,9 @@
153154
<scope>test</scope>
154155
</dependency>
155156
<dependency>
156-
<groupId>org.junit.support</groupId>
157-
<artifactId>testng-engine</artifactId>
158-
<version>${testng-engine.version}</version>
159-
<exclusions>
160-
<exclusion>
161-
<!-- Use the version supplied by the org.junit.jupiter:junit-jupiter -->
162-
<groupId>org.junit.platform</groupId>
163-
<artifactId>junit-platform-engine</artifactId>
164-
</exclusion>
165-
</exclusions>
157+
<groupId>org.testng</groupId>
158+
<artifactId>testng</artifactId>
159+
<version>${testng.version}</version>
166160
<scope>test</scope>
167161
</dependency>
168162
<dependency>

0 commit comments

Comments
 (0)