|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 4 | <modelVersion>4.0.0</modelVersion> |
4 | 5 |
|
5 | 6 | <parent> |
|
372 | 373 | <version>${maven-surefire-plugin.version}</version> |
373 | 374 | <configuration> |
374 | 375 | <systemPropertyVariables> |
375 | | - <launchContainers>false</launchContainers> |
| 376 | + <launchContainers>true</launchContainers> |
376 | 377 | </systemPropertyVariables> |
377 | 378 | <skipTests>${skipUnitTests}</skipTests> |
378 | 379 | <excludeJUnit5Engines>spock</excludeJUnit5Engines> |
|
385 | 386 | <configuration> |
386 | 387 | <systemPropertyVariables> |
387 | 388 | <launchContainers>true</launchContainers> |
388 | | - <mockserver.version>${mockserver.version}</mockserver.version> |
389 | | - <pbs.version>${project.version}</pbs.version> |
390 | | - <tests.max-container-count>5</tests.max-container-count> |
391 | | - <!-- Run only one application container instance on fixed ports for debugging purposes --> |
392 | | - <tests.fixed-container-ports>false</tests.fixed-container-ports> |
393 | 389 | </systemPropertyVariables> |
394 | 390 | </configuration> |
395 | 391 | </plugin> |
|
589 | 585 | </build> |
590 | 586 |
|
591 | 587 | <profiles> |
| 588 | + <profile> |
| 589 | + <!-- Run only one application container instance on fixed ports for debugging purposes --> |
| 590 | + <id>Container debugging</id> |
| 591 | + <build> |
| 592 | + <plugins> |
| 593 | + <plugin> |
| 594 | + <groupId>org.apache.maven.plugins</groupId> |
| 595 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 596 | + <configuration> |
| 597 | + <systemPropertyVariables> |
| 598 | + <tests.fixed-container-ports>true</tests.fixed-container-ports> |
| 599 | + </systemPropertyVariables> |
| 600 | + </configuration> |
| 601 | + </plugin> |
| 602 | + </plugins> |
| 603 | + </build> |
| 604 | + </profile> |
592 | 605 | <profile> |
593 | 606 | <id>Run general functional tests without modules</id> |
594 | 607 | <activation> |
|
624 | 637 | <plugin> |
625 | 638 | <groupId>org.apache.maven.plugins</groupId> |
626 | 639 | <artifactId>maven-failsafe-plugin</artifactId> |
| 640 | + <configuration> |
| 641 | + <systemPropertyVariables> |
| 642 | + <mockserver.version>${mockserver.version}</mockserver.version> |
| 643 | + <pbs.version>${project.version}</pbs.version> |
| 644 | + <tests.max-container-count>5</tests.max-container-count> |
| 645 | + <!-- Run only one application container instance on fixed ports for debugging purposes --> |
| 646 | + <tests.fixed-container-ports>false</tests.fixed-container-ports> |
| 647 | + </systemPropertyVariables> |
| 648 | + </configuration> |
627 | 649 | <executions> |
628 | 650 | <execution> |
629 | 651 | <id>general-functional-tests</id> |
|
680 | 702 | <plugin> |
681 | 703 | <groupId>org.apache.maven.plugins</groupId> |
682 | 704 | <artifactId>maven-failsafe-plugin</artifactId> |
| 705 | + <configuration> |
| 706 | + <systemPropertyVariables> |
| 707 | + <mockserver.version>${mockserver.version}</mockserver.version> |
| 708 | + <pbs.version>${project.version}</pbs.version> |
| 709 | + <tests.max-container-count>5</tests.max-container-count> |
| 710 | + <!-- Run only one application container instance on fixed ports for debugging purposes --> |
| 711 | + <tests.fixed-container-ports>false</tests.fixed-container-ports> |
| 712 | + </systemPropertyVariables> |
| 713 | + </configuration> |
683 | 714 | <executions> |
684 | 715 | <execution> |
685 | 716 | <id>module-functional-tests</id> |
|
0 commit comments