|
375 | 375 | <launchContainers>false</launchContainers> |
376 | 376 | </systemPropertyVariables> |
377 | 377 | <skipTests>${skipUnitTests}</skipTests> |
| 378 | + <excludeJUnit5Engines>spock</excludeJUnit5Engines> |
378 | 379 | </configuration> |
379 | 380 | </plugin> |
380 | 381 | <plugin> |
|
384 | 385 | <configuration> |
385 | 386 | <systemPropertyVariables> |
386 | 387 | <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> |
387 | 393 | </systemPropertyVariables> |
388 | 394 | </configuration> |
389 | | - <executions> |
390 | | - <execution> |
391 | | - <id>functional-tests</id> |
392 | | - <configuration> |
393 | | - <skip>${skipFunctionalTests}</skip> |
394 | | - </configuration> |
395 | | - </execution> |
396 | | - <execution> |
397 | | - <id>module-functional-tests</id> |
398 | | - <configuration> |
399 | | - <skip>${skipModuleFunctionalTests}</skip> |
400 | | - </configuration> |
401 | | - </execution> |
402 | | - </executions> |
403 | 395 | </plugin> |
404 | 396 | <plugin> |
405 | 397 | <groupId>org.codehaus.gmavenplus</groupId> |
|
585 | 577 | </execution> |
586 | 578 | </executions> |
587 | 579 | </plugin> |
588 | | - <plugin> |
589 | | - <groupId>org.codehaus.gmavenplus</groupId> |
590 | | - <artifactId>gmavenplus-plugin</artifactId> |
591 | | - <configuration> |
592 | | - <parallelParsing>true</parallelParsing> |
593 | | - <testSources> |
594 | | - <testSource> |
595 | | - <directory>${project.basedir}/src/test/groovy</directory> |
596 | | - <includes> |
597 | | - <include>**/*.groovy</include> |
598 | | - </includes> |
599 | | - </testSource> |
600 | | - </testSources> |
601 | | - </configuration> |
602 | | - <executions> |
603 | | - <execution> |
604 | | - <goals> |
605 | | - <goal>compileTests</goal> |
606 | | - </goals> |
607 | | - </execution> |
608 | | - </executions> |
609 | | - </plugin> |
610 | | - <plugin> |
611 | | - <groupId>org.apache.maven.plugins</groupId> |
612 | | - <artifactId>maven-failsafe-plugin</artifactId> |
613 | | - <configuration> |
614 | | - <systemPropertyVariables> |
615 | | - <mockserver.version>${mockserver.version}</mockserver.version> |
616 | | - <pbs.version>${project.version}</pbs.version> |
617 | | - <tests.max-container-count>5</tests.max-container-count> |
618 | | - <tests.fixed-container-ports>false</tests.fixed-container-ports> |
619 | | - </systemPropertyVariables> |
620 | | - </configuration> |
621 | | - <executions> |
622 | | - <execution> |
623 | | - <id>functional-tests</id> |
624 | | - <goals> |
625 | | - <goal>integration-test</goal> |
626 | | - <goal>verify</goal> |
627 | | - </goals> |
628 | | - <configuration> |
629 | | - <excludes> |
630 | | - <exclude>**/tests/module/**/*Spec</exclude> |
631 | | - </excludes> |
632 | | - <includes> |
633 | | - <include>**/*Spec</include> |
634 | | - </includes> |
635 | | - </configuration> |
636 | | - </execution> |
637 | | - <execution> |
638 | | - <id>module-functional-tests</id> |
639 | | - <goals> |
640 | | - <goal>integration-test</goal> |
641 | | - <goal>verify</goal> |
642 | | - </goals> |
643 | | - <configuration> |
644 | | - <includes> |
645 | | - <include>**/tests/module/**/*Spec</include> |
646 | | - </includes> |
647 | | - </configuration> |
648 | | - </execution> |
649 | | - </executions> |
650 | | - </plugin> |
651 | 580 | <plugin> |
652 | 581 | <groupId>org.apache.maven.plugins</groupId> |
653 | 582 | <artifactId>maven-compiler-plugin</artifactId> |
|
661 | 590 |
|
662 | 591 | <profiles> |
663 | 592 | <profile> |
664 | | - <!-- Run only one application container instance on fixed ports for debugging purposes --> |
665 | | - <id>Container debugging</id> |
| 593 | + <id>Run general functional tests without modules</id> |
| 594 | + <activation> |
| 595 | + <property> |
| 596 | + <name>run-functional-tests</name> |
| 597 | + <value>true</value> |
| 598 | + </property> |
| 599 | + </activation> |
666 | 600 | <build> |
667 | 601 | <plugins> |
| 602 | + <plugin> |
| 603 | + <groupId>org.codehaus.gmavenplus</groupId> |
| 604 | + <artifactId>gmavenplus-plugin</artifactId> |
| 605 | + <configuration> |
| 606 | + <parallelParsing>true</parallelParsing> |
| 607 | + <testSources> |
| 608 | + <testSource> |
| 609 | + <directory>${project.basedir}/src/test/groovy</directory> |
| 610 | + <includes> |
| 611 | + <include>**/*.groovy</include> |
| 612 | + </includes> |
| 613 | + </testSource> |
| 614 | + </testSources> |
| 615 | + </configuration> |
| 616 | + <executions> |
| 617 | + <execution> |
| 618 | + <goals> |
| 619 | + <goal>compileTests</goal> |
| 620 | + </goals> |
| 621 | + </execution> |
| 622 | + </executions> |
| 623 | + </plugin> |
668 | 624 | <plugin> |
669 | 625 | <groupId>org.apache.maven.plugins</groupId> |
670 | 626 | <artifactId>maven-failsafe-plugin</artifactId> |
| 627 | + <executions> |
| 628 | + <execution> |
| 629 | + <id>general-functional-tests</id> |
| 630 | + <goals> |
| 631 | + <goal>integration-test</goal> |
| 632 | + <goal>verify</goal> |
| 633 | + </goals> |
| 634 | + <configuration> |
| 635 | + <excludes> |
| 636 | + <exclude>**/tests/module/**/*Spec</exclude> |
| 637 | + </excludes> |
| 638 | + <includes> |
| 639 | + <include>**/*Spec</include> |
| 640 | + </includes> |
| 641 | + </configuration> |
| 642 | + </execution> |
| 643 | + </executions> |
| 644 | + </plugin> |
| 645 | + </plugins> |
| 646 | + </build> |
| 647 | + </profile> |
| 648 | + <profile> |
| 649 | + <id>Run only module functional tests</id> |
| 650 | + <activation> |
| 651 | + <property> |
| 652 | + <name>run-module-functional-tests</name> |
| 653 | + <value>true</value> |
| 654 | + </property> |
| 655 | + </activation> |
| 656 | + <build> |
| 657 | + <plugins> |
| 658 | + <plugin> |
| 659 | + <groupId>org.codehaus.gmavenplus</groupId> |
| 660 | + <artifactId>gmavenplus-plugin</artifactId> |
671 | 661 | <configuration> |
672 | | - <systemPropertyVariables> |
673 | | - <tests.fixed-container-ports>true</tests.fixed-container-ports> |
674 | | - </systemPropertyVariables> |
| 662 | + <parallelParsing>true</parallelParsing> |
| 663 | + <testSources> |
| 664 | + <testSource> |
| 665 | + <directory>${project.basedir}/src/test/groovy</directory> |
| 666 | + <includes> |
| 667 | + <include>**/*.groovy</include> |
| 668 | + </includes> |
| 669 | + </testSource> |
| 670 | + </testSources> |
675 | 671 | </configuration> |
| 672 | + <executions> |
| 673 | + <execution> |
| 674 | + <goals> |
| 675 | + <goal>compileTests</goal> |
| 676 | + </goals> |
| 677 | + </execution> |
| 678 | + </executions> |
| 679 | + </plugin> |
| 680 | + <plugin> |
| 681 | + <groupId>org.apache.maven.plugins</groupId> |
| 682 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 683 | + <executions> |
| 684 | + <execution> |
| 685 | + <id>module-functional-tests</id> |
| 686 | + <goals> |
| 687 | + <goal>integration-test</goal> |
| 688 | + <goal>verify</goal> |
| 689 | + </goals> |
| 690 | + <configuration> |
| 691 | + <includes> |
| 692 | + <include>**/tests/module/**/*Spec</include> |
| 693 | + </includes> |
| 694 | + </configuration> |
| 695 | + </execution> |
| 696 | + </executions> |
676 | 697 | </plugin> |
677 | 698 | </plugins> |
678 | 699 | </build> |
|
0 commit comments