|
561 | 561 |
|
562 | 562 | <build> |
563 | 563 | <finalName>${project.artifactId}</finalName> |
| 564 | + <defaultGoal>clean dependency:list install spring-boot:run</defaultGoal> |
564 | 565 | <pluginManagement> |
565 | 566 | <plugins> |
566 | 567 | <plugin> |
|
573 | 574 | <artifactId>docker-compose-maven-plugin</artifactId> |
574 | 575 | <version>${version.docker-compose-maven-plugin}</version> |
575 | 576 | </plugin> |
576 | | - |
577 | 577 | <plugin> |
578 | 578 | <groupId>org.apache.maven.plugins</groupId> |
579 | 579 | <artifactId>maven-project-info-reports-plugin</artifactId> |
|
672 | 672 | <detachedMode>true</detachedMode> |
673 | 673 | </configuration> |
674 | 674 | </plugin> |
| 675 | + <plugin> |
| 676 | + <groupId>org.apache.maven.plugins</groupId> |
| 677 | + <artifactId>maven-clean-plugin</artifactId> |
| 678 | + </plugin> |
| 679 | + <plugin> |
| 680 | + <groupId>org.apache.maven.plugins</groupId> |
| 681 | + <artifactId>maven-install-plugin</artifactId> |
| 682 | + </plugin> |
| 683 | + <plugin> |
| 684 | + <groupId>org.apache.maven.plugins</groupId> |
| 685 | + <artifactId>maven-help-plugin</artifactId> |
| 686 | + </plugin> |
| 687 | + <plugin> |
| 688 | + <groupId>org.apache.maven.plugins</groupId> |
| 689 | + <artifactId>maven-source-plugin</artifactId> |
| 690 | + </plugin> |
| 691 | + <plugin> |
| 692 | + <groupId>org.apache.maven.plugins</groupId> |
| 693 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 694 | + <configuration> |
| 695 | + <linksource>true</linksource> |
| 696 | + <maxmemory>1024m</maxmemory> |
| 697 | + <source>${java.version}</source> |
| 698 | + </configuration> |
| 699 | + </plugin> |
| 700 | + <plugin> |
| 701 | + <groupId>org.springframework.boot</groupId> |
| 702 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 703 | + <configuration> |
| 704 | + <addResources>true</addResources> |
| 705 | + <profiles> |
| 706 | + <profile>default</profile> |
| 707 | + </profiles> |
| 708 | + </configuration> |
| 709 | + <executions> |
| 710 | + <!-- |
| 711 | + <execution> |
| 712 | + <id>pre-integration-test</id> |
| 713 | + <goals> |
| 714 | + <goal>start</goal> |
| 715 | + </goals> |
| 716 | + <configuration> |
| 717 | + <skip>${skipTests}</skip> |
| 718 | + </configuration> |
| 719 | + </execution> |
| 720 | + <execution> |
| 721 | + <id>post-integration-test</id> |
| 722 | + <goals> |
| 723 | + <goal>stop</goal> |
| 724 | + </goals> |
| 725 | + <configuration> |
| 726 | + <skip>${skipTests}</skip> |
| 727 | + </configuration> |
| 728 | + </execution> |
| 729 | + --> |
| 730 | + <execution> |
| 731 | + <id>id-build-info</id> |
| 732 | + <goals> |
| 733 | + <goal>build-info</goal> |
| 734 | + </goals> |
| 735 | + <configuration> |
| 736 | + <additionalProperties> |
| 737 | + <encoding.source>${project.build.sourceEncoding}</encoding.source> |
| 738 | + <encoding.reporting>${project.reporting.outputEncoding}</encoding.reporting> |
| 739 | + <java.source>${maven.compiler.source}</java.source> |
| 740 | + <java.target>${maven.compiler.target}</java.target> |
| 741 | + </additionalProperties> |
| 742 | + </configuration> |
| 743 | + </execution> |
| 744 | + </executions> |
| 745 | + </plugin> |
675 | 746 | <plugin> |
676 | 747 | <groupId>org.apache.maven.plugins</groupId> |
677 | 748 | <artifactId>maven-dependency-plugin</artifactId> |
|
791 | 862 | <showDeprecation>true</showDeprecation> |
792 | 863 | </configuration> |
793 | 864 | </plugin> |
| 865 | + <plugin> |
| 866 | + <groupId>org.apache.maven.plugins</groupId> |
| 867 | + <artifactId>maven-surefire-plugin</artifactId> |
| 868 | + <configuration> |
| 869 | + <skipTests>${skipTests}</skipTests> |
| 870 | + <systemPropertyVariables> |
| 871 | + <spring.profiles.active>default</spring.profiles.active> |
| 872 | + <skipIntegrationTests>${skipTests}</skipIntegrationTests> |
| 873 | + </systemPropertyVariables> |
| 874 | + </configuration> |
| 875 | + </plugin> |
| 876 | + <plugin> |
| 877 | + <groupId>org.apache.maven.plugins</groupId> |
| 878 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 879 | + <configuration> |
| 880 | + <skipTests>${skipTests}</skipTests> |
| 881 | + <systemPropertyVariables> |
| 882 | + <spring.profiles.active>default</spring.profiles.active> |
| 883 | + <skipIntegrationTests>${skipTests}</skipIntegrationTests> |
| 884 | + </systemPropertyVariables> |
| 885 | + </configuration> |
| 886 | + </plugin> |
| 887 | + <plugin> |
| 888 | + <groupId>org.apache.maven.plugins</groupId> |
| 889 | + <artifactId>maven-site-plugin</artifactId> |
| 890 | + </plugin> |
794 | 891 | </plugins> |
795 | 892 | </build> |
796 | 893 |
|
|
804 | 901 | <value>default</value> |
805 | 902 | </property> |
806 | 903 | </activation> |
807 | | - <build> |
808 | | - <finalName>simpleworklist</finalName> |
809 | | - <defaultGoal>clean dependency:list install spring-boot:run</defaultGoal> |
810 | | - <plugins> |
811 | | - <plugin> |
812 | | - <groupId>org.springframework.boot</groupId> |
813 | | - <artifactId>spring-boot-maven-plugin</artifactId> |
814 | | - <configuration> |
815 | | - <addResources>true</addResources> |
816 | | - <profiles> |
817 | | - <profile>default</profile> |
818 | | - </profiles> |
819 | | - </configuration> |
820 | | - <executions> |
821 | | - <execution> |
822 | | - <id>pre-integration-test</id> |
823 | | - <goals> |
824 | | - <goal>start</goal> |
825 | | - </goals> |
826 | | - <configuration> |
827 | | - <skip>${skipTests}</skip> |
828 | | - </configuration> |
829 | | - </execution> |
830 | | - <execution> |
831 | | - <id>post-integration-test</id> |
832 | | - <goals> |
833 | | - <goal>stop</goal> |
834 | | - </goals> |
835 | | - <configuration> |
836 | | - <skip>${skipTests}</skip> |
837 | | - </configuration> |
838 | | - </execution> |
839 | | - <execution> |
840 | | - <id>id-build-info</id> |
841 | | - <goals> |
842 | | - <goal>build-info</goal> |
843 | | - </goals> |
844 | | - <configuration> |
845 | | - <additionalProperties> |
846 | | - <encoding.source>${project.build.sourceEncoding}</encoding.source> |
847 | | - <encoding.reporting>${project.reporting.outputEncoding}</encoding.reporting> |
848 | | - <java.source>${maven.compiler.source}</java.source> |
849 | | - <java.target>${maven.compiler.target}</java.target> |
850 | | - </additionalProperties> |
851 | | - </configuration> |
852 | | - </execution> |
853 | | - </executions> |
854 | | - </plugin> |
855 | | - <plugin> |
856 | | - <groupId>org.apache.maven.plugins</groupId> |
857 | | - <artifactId>maven-surefire-plugin</artifactId> |
858 | | - <configuration> |
859 | | - <skipTests>${skipTests}</skipTests> |
860 | | - <systemPropertyVariables> |
861 | | - <spring.profiles.active>default</spring.profiles.active> |
862 | | - <skipIntegrationTests>${skipTests}</skipIntegrationTests> |
863 | | - </systemPropertyVariables> |
864 | | - </configuration> |
865 | | - </plugin> |
866 | | - <plugin> |
867 | | - <groupId>org.apache.maven.plugins</groupId> |
868 | | - <artifactId>maven-failsafe-plugin</artifactId> |
869 | | - <configuration> |
870 | | - <skipTests>${skipTests}</skipTests> |
871 | | - <systemPropertyVariables> |
872 | | - <spring.profiles.active>default</spring.profiles.active> |
873 | | - <skipIntegrationTests>${skipTests}</skipIntegrationTests> |
874 | | - </systemPropertyVariables> |
875 | | - </configuration> |
876 | | - </plugin> |
877 | | - </plugins> |
878 | | - </build> |
879 | 904 | </profile> |
880 | 905 |
|
881 | | - <profile> |
882 | | - <id>testing</id> |
883 | | - <build> |
884 | | - <plugins> |
885 | | - <plugin> |
886 | | - <groupId>org.springframework.boot</groupId> |
887 | | - <artifactId>spring-boot-maven-plugin</artifactId> |
888 | | - <configuration> |
889 | | - <addResources>true</addResources> |
890 | | - <profiles> |
891 | | - <profile>testing</profile> |
892 | | - </profiles> |
893 | | - </configuration> |
894 | | - <executions> |
895 | | - <execution> |
896 | | - <id>pre-integration-test</id> |
897 | | - <goals> |
898 | | - <goal>start</goal> |
899 | | - </goals> |
900 | | - </execution> |
901 | | - <execution> |
902 | | - <id>post-integration-test</id> |
903 | | - <goals> |
904 | | - <goal>stop</goal> |
905 | | - </goals> |
906 | | - </execution> |
907 | | - </executions> |
908 | | - </plugin> |
909 | | - <plugin> |
910 | | - <groupId>org.apache.maven.plugins</groupId> |
911 | | - <artifactId>maven-surefire-plugin</artifactId> |
912 | | - <configuration> |
913 | | - <systemPropertyVariables> |
914 | | - <spring.profiles.active>testing</spring.profiles.active> |
915 | | - </systemPropertyVariables> |
916 | | - <skipTests>false</skipTests> |
917 | | - </configuration> |
918 | | - </plugin> |
919 | | - </plugins> |
920 | | - </build> |
921 | | - </profile> |
922 | 906 | </profiles> |
923 | 907 |
|
924 | 908 | <reporting> |
|
987 | 971 | <plugin> |
988 | 972 | <groupId>org.apache.maven.plugins</groupId> |
989 | 973 | <artifactId>maven-jxr-plugin</artifactId> |
| 974 | + <configuration> |
| 975 | + <linkJavadoc>true</linkJavadoc> |
| 976 | + </configuration> |
990 | 977 | </plugin> |
991 | 978 | <plugin> |
992 | 979 | <groupId>org.apache.maven.plugins</groupId> |
993 | 980 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 981 | + <configuration> |
| 982 | + <enableRulesSummary>true</enableRulesSummary> |
| 983 | + <enableSeveritySummary>true</enableSeveritySummary> |
| 984 | + <enableFilesSummary>true</enableFilesSummary> |
| 985 | + <failOnViolation>false</failOnViolation> |
| 986 | + <failsOnError>false</failsOnError> |
| 987 | + </configuration> |
994 | 988 | </plugin> |
995 | 989 | <plugin> |
996 | 990 | <groupId>com.github.spotbugs</groupId> |
997 | 991 | <artifactId>spotbugs-maven-plugin</artifactId> |
998 | | - <configuration> |
999 | | - <!-- Optional directory to put spotbugs xml report --> |
| 992 | + <configuration> |
| 993 | + <failOnError>false</failOnError> |
| 994 | + <detail>true</detail> |
| 995 | + <relaxed>true</relaxed> |
1000 | 996 | </configuration> |
1001 | 997 | </plugin> |
1002 | 998 | <plugin> |
|
1014 | 1010 | <groupId>org.apache.maven.plugins</groupId> |
1015 | 1011 | <artifactId>maven-surefire-plugin</artifactId> |
1016 | 1012 | <configuration> |
1017 | | - <skipTests>false</skipTests> |
| 1013 | + <skipTests>${skipTests}</skipTests> |
1018 | 1014 | <includes> |
1019 | 1015 | <include>**/*Tests.java</include> |
1020 | 1016 | <include>**/*Test.java</include> |
1021 | 1017 | </includes> |
1022 | 1018 | <excludes> |
1023 | 1019 | <exclude>**/Abstract*.java</exclude> |
1024 | 1020 | </excludes> |
| 1021 | + <systemPropertyVariables> |
| 1022 | + <spring.profiles.active>default</spring.profiles.active> |
| 1023 | + <skipIntegrationTests>${skipTests}</skipIntegrationTests> |
| 1024 | + </systemPropertyVariables> |
1025 | 1025 | </configuration> |
1026 | 1026 | </plugin> |
| 1027 | + <plugin> |
| 1028 | + <groupId>org.apache.maven.plugins</groupId> |
| 1029 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 1030 | + <configuration> |
| 1031 | + <skipTests>${skipTests}</skipTests> |
| 1032 | + <systemPropertyVariables> |
| 1033 | + <spring.profiles.active>default</spring.profiles.active> |
| 1034 | + <skipIntegrationTests>${skipTests}</skipIntegrationTests> |
| 1035 | + </systemPropertyVariables> |
| 1036 | + </configuration> |
| 1037 | + </plugin> |
| 1038 | + <plugin> |
| 1039 | + <groupId>org.apache.maven.plugins</groupId> |
| 1040 | + <artifactId>maven-site-plugin</artifactId> |
| 1041 | + </plugin> |
| 1042 | + |
| 1043 | + |
1027 | 1044 | <plugin> |
1028 | 1045 | <groupId>org.apache.maven.plugins</groupId> |
1029 | 1046 | <artifactId>maven-surefire-report-plugin</artifactId> |
1030 | 1047 | <configuration> |
1031 | | - <skipFailsafeReport>true</skipFailsafeReport> |
1032 | | - <skipSurefireReport>true</skipSurefireReport> |
| 1048 | + <skipFailsafeReport>${skipTests}</skipFailsafeReport> |
| 1049 | + <skipSurefireReport>${skipTests}</skipSurefireReport> |
1033 | 1050 | </configuration> |
1034 | 1051 | </plugin> |
| 1052 | + |
| 1053 | + |
1035 | 1054 | </plugins> |
1036 | 1055 | </reporting> |
1037 | 1056 |
|
|
0 commit comments