|
147 | 147 | <version>5.0.0</version> |
148 | 148 | <scope>test</scope> |
149 | 149 | </dependency> |
| 150 | + <!-- Source: https://mvnrepository.com/artifact/org.junit-pioneer/junit-pioneer --> |
| 151 | + <dependency> |
| 152 | + <groupId>org.junit-pioneer</groupId> |
| 153 | + <artifactId>junit-pioneer</artifactId> |
| 154 | + <version>2.3.0</version> |
| 155 | + <scope>test</scope> |
| 156 | + </dependency> |
150 | 157 | </dependencies> |
151 | 158 | <profiles> |
152 | 159 | <!-- MySQL + Elasticsearch (default) --> |
|
162 | 169 | <artifactId>maven-failsafe-plugin</artifactId> |
163 | 170 | <version>${maven.failsafe.version}</version> |
164 | 171 | <executions> |
165 | | - <!-- Phase 1: Run TagRecognizerFeedbackIT sequentially in integration-test phase --> |
| 172 | + <!-- Run sequential tests --> |
166 | 173 | <execution> |
167 | | - <id>sequential-test</id> |
| 174 | + <id>sequential-tests</id> |
168 | 175 | <goals> |
169 | 176 | <goal>integration-test</goal> |
170 | 177 | </goals> |
|
176 | 183 | <include>**/TagRecognizerFeedbackIT.java</include> |
177 | 184 | </includes> |
178 | 185 | <systemPropertyVariables> |
| 186 | + <databaseType>mysql</databaseType> |
| 187 | + <databaseImage>mysql:8.3.0</databaseImage> |
| 188 | + <searchType>elasticsearch</searchType> |
| 189 | + <searchImage>docker.elastic.co/elasticsearch/elasticsearch:8.11.4</searchImage> |
| 190 | + |
179 | 191 | <junit.jupiter.extensions.autodetection.enabled>true</junit.jupiter.extensions.autodetection.enabled> |
180 | 192 | <junit.jupiter.execution.parallel.enabled>false</junit.jupiter.execution.parallel.enabled> |
181 | 193 | </systemPropertyVariables> |
|
184 | 196 | <useFile>true</useFile> |
185 | 197 | </configuration> |
186 | 198 | </execution> |
187 | | - <!-- Phase 2: Run all other tests in parallel in integration-test phase --> |
| 199 | + <!-- Run parallel tests --> |
188 | 200 | <execution> |
189 | 201 | <id>parallel-tests</id> |
190 | 202 | <goals> |
|
202 | 214 | <exclude>**/TagRecognizerFeedbackIT.java</exclude> |
203 | 215 | </excludes> |
204 | 216 | <systemPropertyVariables> |
| 217 | + <databaseType>mysql</databaseType> |
| 218 | + <databaseImage>mysql:8.3.0</databaseImage> |
| 219 | + <searchType>elasticsearch</searchType> |
| 220 | + <searchImage>docker.elastic.co/elasticsearch/elasticsearch:8.11.4</searchImage> |
| 221 | + |
205 | 222 | <junit.jupiter.extensions.autodetection.enabled>true</junit.jupiter.extensions.autodetection.enabled> |
206 | 223 | <junit.jupiter.execution.parallel.enabled>true</junit.jupiter.execution.parallel.enabled> |
207 | 224 | </systemPropertyVariables> |
|
232 | 249 | <artifactId>maven-failsafe-plugin</artifactId> |
233 | 250 | <version>${maven.failsafe.version}</version> |
234 | 251 | <executions> |
235 | | - <!-- Phase 1: Run TagRecognizerFeedbackIT sequentially in integration-test phase --> |
| 252 | + <!-- Run sequential tests --> |
236 | 253 | <execution> |
237 | | - <id>sequential-test</id> |
| 254 | + <id>sequential-tests</id> |
238 | 255 | <goals> |
239 | 256 | <goal>integration-test</goal> |
240 | 257 | </goals> |
|
246 | 263 | <include>**/TagRecognizerFeedbackIT.java</include> |
247 | 264 | </includes> |
248 | 265 | <systemPropertyVariables> |
| 266 | + <databaseType>postgres</databaseType> |
| 267 | + <databaseImage>postgres:15</databaseImage> |
| 268 | + <searchType>opensearch</searchType> |
| 269 | + <searchImage>opensearchproject/opensearch:2.6.0</searchImage> |
| 270 | + |
249 | 271 | <junit.jupiter.extensions.autodetection.enabled>true</junit.jupiter.extensions.autodetection.enabled> |
250 | 272 | <junit.jupiter.execution.parallel.enabled>false</junit.jupiter.execution.parallel.enabled> |
251 | 273 | </systemPropertyVariables> |
|
254 | 276 | <useFile>true</useFile> |
255 | 277 | </configuration> |
256 | 278 | </execution> |
257 | | - <!-- Phase 2: Run all other tests in parallel in integration-test phase --> |
| 279 | + <!-- Run parallel tests --> |
258 | 280 | <execution> |
259 | 281 | <id>parallel-tests</id> |
260 | 282 | <goals> |
|
272 | 294 | <exclude>**/TagRecognizerFeedbackIT.java</exclude> |
273 | 295 | </excludes> |
274 | 296 | <systemPropertyVariables> |
| 297 | + <databaseType>postgres</databaseType> |
| 298 | + <databaseImage>postgres:15</databaseImage> |
| 299 | + <searchType>opensearch</searchType> |
| 300 | + <searchImage>opensearchproject/opensearch:2.6.0</searchImage> |
| 301 | + |
275 | 302 | <junit.jupiter.extensions.autodetection.enabled>true</junit.jupiter.extensions.autodetection.enabled> |
276 | 303 | <junit.jupiter.execution.parallel.enabled>true</junit.jupiter.execution.parallel.enabled> |
277 | 304 | </systemPropertyVariables> |
|
302 | 329 | <artifactId>maven-failsafe-plugin</artifactId> |
303 | 330 | <version>${maven.failsafe.version}</version> |
304 | 331 | <executions> |
305 | | - <!-- Phase 1: Run TagRecognizerFeedbackIT sequentially in integration-test phase --> |
| 332 | + <!-- Run sequential tests --> |
306 | 333 | <execution> |
307 | | - <id>sequential-test</id> |
| 334 | + <id>sequential-tests</id> |
308 | 335 | <goals> |
309 | 336 | <goal>integration-test</goal> |
310 | 337 | </goals> |
|
316 | 343 | <include>**/TagRecognizerFeedbackIT.java</include> |
317 | 344 | </includes> |
318 | 345 | <systemPropertyVariables> |
| 346 | + <databaseType>postgres</databaseType> |
| 347 | + <databaseImage>postgres:15</databaseImage> |
| 348 | + <searchType>elasticsearch</searchType> |
| 349 | + <searchImage>docker.elastic.co/elasticsearch/elasticsearch:8.11.4</searchImage> |
| 350 | + |
319 | 351 | <junit.jupiter.extensions.autodetection.enabled>true</junit.jupiter.extensions.autodetection.enabled> |
320 | 352 | <junit.jupiter.execution.parallel.enabled>false</junit.jupiter.execution.parallel.enabled> |
321 | 353 | </systemPropertyVariables> |
|
324 | 356 | <useFile>true</useFile> |
325 | 357 | </configuration> |
326 | 358 | </execution> |
327 | | - <!-- Phase 2: Run all other tests in parallel in integration-test phase --> |
| 359 | + <!-- Run parallel tests --> |
328 | 360 | <execution> |
329 | 361 | <id>parallel-tests</id> |
330 | 362 | <goals> |
|
342 | 374 | <exclude>**/TagRecognizerFeedbackIT.java</exclude> |
343 | 375 | </excludes> |
344 | 376 | <systemPropertyVariables> |
| 377 | + <databaseType>postgres</databaseType> |
| 378 | + <databaseImage>postgres:15</databaseImage> |
| 379 | + <searchType>elasticsearch</searchType> |
| 380 | + <searchImage>docker.elastic.co/elasticsearch/elasticsearch:8.11.4</searchImage> |
| 381 | + |
345 | 382 | <junit.jupiter.extensions.autodetection.enabled>true</junit.jupiter.extensions.autodetection.enabled> |
346 | 383 | <junit.jupiter.execution.parallel.enabled>true</junit.jupiter.execution.parallel.enabled> |
347 | 384 | </systemPropertyVariables> |
|
372 | 409 | <artifactId>maven-failsafe-plugin</artifactId> |
373 | 410 | <version>${maven.failsafe.version}</version> |
374 | 411 | <executions> |
375 | | - <!-- Phase 1: Run TagRecognizerFeedbackIT sequentially in integration-test phase --> |
| 412 | + <!-- Run sequential tests --> |
376 | 413 | <execution> |
377 | | - <id>sequential-test</id> |
| 414 | + <id>sequential-tests</id> |
378 | 415 | <goals> |
379 | 416 | <goal>integration-test</goal> |
380 | 417 | </goals> |
|
386 | 423 | <include>**/TagRecognizerFeedbackIT.java</include> |
387 | 424 | </includes> |
388 | 425 | <systemPropertyVariables> |
| 426 | + <databaseType>mysql</databaseType> |
| 427 | + <databaseImage>mysql:8.3.0</databaseImage> |
| 428 | + <searchType>opensearch</searchType> |
| 429 | + <searchImage>opensearchproject/opensearch:2.6.0</searchImage> |
| 430 | + |
389 | 431 | <junit.jupiter.extensions.autodetection.enabled>true</junit.jupiter.extensions.autodetection.enabled> |
390 | 432 | <junit.jupiter.execution.parallel.enabled>false</junit.jupiter.execution.parallel.enabled> |
391 | 433 | </systemPropertyVariables> |
|
394 | 436 | <useFile>true</useFile> |
395 | 437 | </configuration> |
396 | 438 | </execution> |
397 | | - <!-- Phase 2: Run all other tests in parallel in integration-test phase --> |
| 439 | + <!-- Run parallel tests --> |
398 | 440 | <execution> |
399 | 441 | <id>parallel-tests</id> |
400 | 442 | <goals> |
|
412 | 454 | <exclude>**/TagRecognizerFeedbackIT.java</exclude> |
413 | 455 | </excludes> |
414 | 456 | <systemPropertyVariables> |
| 457 | + <databaseType>mysql</databaseType> |
| 458 | + <databaseImage>mysql:8.3.0</databaseImage> |
| 459 | + <searchType>opensearch</searchType> |
| 460 | + <searchImage>opensearchproject/opensearch:2.6.0</searchImage> |
| 461 | + |
415 | 462 | <junit.jupiter.extensions.autodetection.enabled>true</junit.jupiter.extensions.autodetection.enabled> |
416 | 463 | <junit.jupiter.execution.parallel.enabled>true</junit.jupiter.execution.parallel.enabled> |
417 | 464 | </systemPropertyVariables> |
|
442 | 489 | <artifactId>maven-failsafe-plugin</artifactId> |
443 | 490 | <version>${maven.failsafe.version}</version> |
444 | 491 | <executions> |
445 | | - <!-- Phase 1: Run TagRecognizerFeedbackIT sequentially in integration-test phase --> |
| 492 | + <!-- Run sequential tests --> |
446 | 493 | <execution> |
447 | | - <id>sequential-test</id> |
| 494 | + <id>sequential-tests</id> |
448 | 495 | <goals> |
449 | 496 | <goal>integration-test</goal> |
450 | 497 | </goals> |
|
456 | 503 | <include>**/TagRecognizerFeedbackIT.java</include> |
457 | 504 | </includes> |
458 | 505 | <systemPropertyVariables> |
| 506 | + <enableRdf>true</enableRdf> |
| 507 | + <rdfContainerImage>stain/jena-fuseki:latest</rdfContainerImage> |
| 508 | + <databaseType>postgres</databaseType> |
| 509 | + <databaseImage>postgres:15</databaseImage> |
| 510 | + <searchType>elasticsearch</searchType> |
| 511 | + <searchImage>docker.elastic.co/elasticsearch/elasticsearch:8.11.4</searchImage> |
| 512 | + |
459 | 513 | <junit.jupiter.extensions.autodetection.enabled>true</junit.jupiter.extensions.autodetection.enabled> |
460 | 514 | <junit.jupiter.execution.parallel.enabled>false</junit.jupiter.execution.parallel.enabled> |
461 | 515 | </systemPropertyVariables> |
|
464 | 518 | <useFile>true</useFile> |
465 | 519 | </configuration> |
466 | 520 | </execution> |
467 | | - <!-- Phase 2: Run all other tests in parallel in integration-test phase --> |
| 521 | + <!-- Run parallel tests --> |
468 | 522 | <execution> |
469 | 523 | <id>parallel-tests</id> |
470 | 524 | <goals> |
|
482 | 536 | <exclude>**/TagRecognizerFeedbackIT.java</exclude> |
483 | 537 | </excludes> |
484 | 538 | <systemPropertyVariables> |
| 539 | + <enableRdf>true</enableRdf> |
| 540 | + <rdfContainerImage>stain/jena-fuseki:latest</rdfContainerImage> |
| 541 | + <databaseType>postgres</databaseType> |
| 542 | + <databaseImage>postgres:15</databaseImage> |
| 543 | + <searchType>elasticsearch</searchType> |
| 544 | + <searchImage>docker.elastic.co/elasticsearch/elasticsearch:8.11.4</searchImage> |
| 545 | + |
485 | 546 | <junit.jupiter.extensions.autodetection.enabled>true</junit.jupiter.extensions.autodetection.enabled> |
486 | 547 | <junit.jupiter.execution.parallel.enabled>true</junit.jupiter.execution.parallel.enabled> |
487 | 548 | </systemPropertyVariables> |
|
0 commit comments