|
95 | 95 | <artifactId>commons-lang3</artifactId> |
96 | 96 | <scope>test</scope> |
97 | 97 | </dependency> |
| 98 | + <dependency> |
| 99 | + <groupId>io.kotest</groupId> |
| 100 | + <artifactId>kotest-runner-junit4-jvm</artifactId> |
| 101 | + <scope>test</scope> |
| 102 | + </dependency> |
98 | 103 | <dependency> |
99 | 104 | <groupId>io.kotest</groupId> |
100 | 105 | <artifactId>kotest-runner-junit5-jvm</artifactId> |
|
110 | 115 | <artifactId>kotest-property-jvm</artifactId> |
111 | 116 | <scope>test</scope> |
112 | 117 | </dependency> |
| 118 | + <!-- |
| 119 | + Executing JUnit 4 and JUnit 5 tests in a same build |
| 120 | + https://stackoverflow.com/a/47158584/922688 |
| 121 | + --> |
| 122 | + <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API --> |
| 123 | + <dependency> |
| 124 | + <groupId>org.junit.jupiter</groupId> |
| 125 | + <artifactId>junit-jupiter-engine</artifactId> |
| 126 | + <scope>test</scope> |
| 127 | + </dependency> |
| 128 | + <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API --> |
| 129 | + <dependency> |
| 130 | + <groupId>org.junit.vintage</groupId> |
| 131 | + <artifactId>junit-vintage-engine</artifactId> |
| 132 | + <scope>test</scope> |
| 133 | + </dependency> |
113 | 134 | </dependencies> |
114 | 135 |
|
115 | 136 | <dependencyManagement> |
|
147 | 168 | <version>3.12.0</version> |
148 | 169 | </dependency> |
149 | 170 |
|
150 | | - <!-- QA libs --> |
| 171 | + <!-- |
| 172 | + QA libs |
| 173 | + --> |
151 | 174 | <!-- |
152 | 175 | JSR305 is already Dormant status, so SpotBugs does not release jsr305 jar file. |
153 | 176 | Please continue using findbugs’ one. |
|
170 | 193 | testing libs |
171 | 194 | --> |
172 | 195 | <!-- https://github.com/kotlintest/kotlintest --> |
| 196 | + <dependency> |
| 197 | + <groupId>io.kotest</groupId> |
| 198 | + <artifactId>kotest-runner-junit4-jvm</artifactId> |
| 199 | + <version>${kotest.version}</version> |
| 200 | + <scope>test</scope> |
| 201 | + </dependency> |
173 | 202 | <dependency> |
174 | 203 | <groupId>io.kotest</groupId> |
175 | 204 | <artifactId>kotest-runner-junit5-jvm</artifactId> |
|
290 | 319 | </execution> |
291 | 320 | </executions> |
292 | 321 | </plugin> |
293 | | - <plugin> |
294 | | - <artifactId>maven-surefire-plugin</artifactId> |
295 | | - </plugin> |
296 | 322 | <plugin> |
297 | 323 | <groupId>org.sonatype.plugins</groupId> |
298 | 324 | <artifactId>nexus-staging-maven-plugin</artifactId> |
|
0 commit comments