|
304 | 304 | <tidy-maven-plugin.version>1.2.0</tidy-maven-plugin.version> |
305 | 305 | <versions-maven-plugin.version>2.16.0</versions-maven-plugin.version> |
306 | 306 |
|
307 | | - <!-- Other Maven plugins --> |
308 | | - <dokka-maven-plugin.version>1.8.20</dokka-maven-plugin.version> |
309 | | - <exists-maven-plugin.version>0.9.0</exists-maven-plugin.version> |
310 | | - <formatter-maven-plugin.version>2.23.0</formatter-maven-plugin.version> |
311 | | - <impsort-maven-plugin.version>1.9.0</impsort-maven-plugin.version> |
312 | | - <jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version> |
313 | | - <javafx-maven-plugin.version>8.8.3</javafx-maven-plugin.version> |
314 | | - <maven-graph-plugin.version>1.45</maven-graph-plugin.version> |
315 | | - <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version> |
316 | | - <revapi-maven-plugin.version>0.15.0</revapi-maven-plugin.version> |
| 307 | + <!-- SciJava Maven plugins --> |
317 | 308 | <scijava-maven-plugin.version>2.2.0</scijava-maven-plugin.version> |
318 | | - <sonar-maven-plugin.version>3.9.1.2184</sonar-maven-plugin.version> |
| 309 | + |
| 310 | + <!-- Other Maven plugins --> |
| 311 | + <javafx-maven-plugin.version>8.8.3</javafx-maven-plugin.version> <!-- com.zenjava --> |
| 312 | + <impsort-maven-plugin.version>1.9.0</impsort-maven-plugin.version> <!-- net.revelc.code --> |
| 313 | + <formatter-maven-plugin.version>2.23.0</formatter-maven-plugin.version> <!-- net.revelc.code.formatter --> |
| 314 | + <maven-graph-plugin.version>1.45</maven-graph-plugin.version> <!-- org.fusesource.mvnplugins --> |
| 315 | + <exists-maven-plugin.version>0.9.0</exists-maven-plugin.version> <!-- org.honton.chas --> |
| 316 | + <jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version> <!-- org.jacoco --> |
| 317 | + <dokka-maven-plugin.version>1.8.20</dokka-maven-plugin.version> <!-- org.jetbrains.jetbrains --> |
| 318 | + <revapi-maven-plugin.version>0.15.0</revapi-maven-plugin.version> <!-- org.revapi --> |
| 319 | + <sonar-maven-plugin.version>3.9.1.2184</sonar-maven-plugin.version> <!-- org.sonarsource.scanner.maven --> |
| 320 | + <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version> <!-- org.sonatype.plugins --> |
319 | 321 |
|
320 | 322 | <!-- Plugin dependencies --> |
321 | 323 | <maven-dependency-tree.version>2.2</maven-dependency-tree.version> |
|
336 | 338 | <defaultGoal>install</defaultGoal> |
337 | 339 | <pluginManagement> |
338 | 340 | <plugins> |
| 341 | + <!-- Core Maven plugins --> |
| 342 | + |
339 | 343 | <plugin> |
340 | 344 | <artifactId>maven-antrun-plugin</artifactId> |
341 | 345 | <version>${maven-antrun-plugin.version}</version> |
|
626 | 630 | </configuration> |
627 | 631 | </plugin> |
628 | 632 |
|
| 633 | + <!-- Codehaus Maven plugins --> |
| 634 | + |
629 | 635 | <!-- |
630 | 636 | Build Helper Maven plugin - |
631 | 637 | https://www.mojohaus.org/build-helper-maven-plugin/ |
|
803 | 809 | <version>${versions-maven-plugin.version}</version> |
804 | 810 | </plugin> |
805 | 811 |
|
806 | | - <!-- |
807 | | - JaCoCo Maven plugin - |
808 | | - https://www.jacoco.org/jacoco/trunk/doc/maven.html |
809 | | - This plugin measures code coverage of tests. |
810 | | - --> |
| 812 | + <!-- SciJava Maven plugins --> |
| 813 | + |
| 814 | + <!-- SciJava Maven plugin - https://github.com/scijava/scijava-maven-plugin --> |
811 | 815 | <plugin> |
812 | | - <groupId>org.jacoco</groupId> |
813 | | - <artifactId>jacoco-maven-plugin</artifactId> |
814 | | - <version>${jacoco-maven-plugin.version}</version> |
| 816 | + <groupId>org.scijava</groupId> |
| 817 | + <artifactId>scijava-maven-plugin</artifactId> |
| 818 | + <version>${scijava-maven-plugin.version}</version> |
815 | 819 | <executions> |
816 | 820 | <execution> |
817 | | - <id>jacoco-initialize</id> |
818 | | - <goals> |
819 | | - <goal>prepare-agent</goal> |
820 | | - </goals> |
821 | | - </execution> |
822 | | - <execution> |
823 | | - <id>jacoco-site</id> |
824 | | - <phase>package</phase> |
| 821 | + <id>set-rootdir</id> |
| 822 | + <phase>validate</phase> |
825 | 823 | <goals> |
826 | | - <goal>report</goal> |
| 824 | + <goal>set-rootdir</goal> |
827 | 825 | </goals> |
828 | 826 | </execution> |
829 | 827 | </executions> |
830 | 828 | </plugin> |
831 | 829 |
|
832 | | - <!-- |
833 | | - SonarScanner Maven plugin - |
834 | | - https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-maven/ |
835 | | - SonarQube scanner for java projects. |
836 | | - --> |
837 | | - <plugin> |
838 | | - <groupId>org.sonarsource.scanner.maven</groupId> |
839 | | - <artifactId>sonar-maven-plugin</artifactId> |
840 | | - <version>${sonar-maven-plugin.version}</version> |
841 | | - </plugin> |
| 830 | + <!-- Other Maven plugins --> |
842 | 831 |
|
843 | 832 | <!-- |
844 | 833 | JavaFX Maven plugin - |
|
859 | 848 | </configuration> |
860 | 849 | </plugin> |
861 | 850 |
|
| 851 | + <!-- ImpSort Maven Plugin - https://github.com/revelc/impsort-maven-plugin --> |
| 852 | + <plugin> |
| 853 | + <groupId>net.revelc.code</groupId> |
| 854 | + <artifactId>impsort-maven-plugin</artifactId> |
| 855 | + <version>${impsort-maven-plugin.version}</version> |
| 856 | + <configuration> |
| 857 | + <groups>java.,javax.,com.,net.,org.</groups> |
| 858 | + <staticGroups>java,*</staticGroups> |
| 859 | + <removeUnused>true</removeUnused> |
| 860 | + </configuration> |
| 861 | + <executions> |
| 862 | + <execution> |
| 863 | + <phase>none</phase> |
| 864 | + </execution> |
| 865 | + </executions> |
| 866 | + </plugin> |
| 867 | + |
| 868 | + <!-- Formatter Maven Plugin - https://github.com/revelc/formatter-maven-plugin --> |
| 869 | + <plugin> |
| 870 | + <groupId>net.revelc.code.formatter</groupId> |
| 871 | + <artifactId>formatter-maven-plugin</artifactId> |
| 872 | + <version>${formatter-maven-plugin.version}</version> |
| 873 | + <dependencies> |
| 874 | + <dependency> |
| 875 | + <groupId>org.scijava</groupId> |
| 876 | + <artifactId>scijava-coding-style</artifactId> |
| 877 | + <version>${scijava-coding-style.version}</version> |
| 878 | + </dependency> |
| 879 | + </dependencies> |
| 880 | + <configuration> |
| 881 | + <configFile>eclipse-formatter-settings/${scijava.coding-style}-coding-style.xml</configFile> |
| 882 | + </configuration> |
| 883 | + </plugin> |
| 884 | + |
862 | 885 | <!-- |
863 | 886 | Maven Graph Plugin - |
864 | 887 | Generate a dependency graph using "mvn graph:reactor" |
|
875 | 898 | </configuration> |
876 | 899 | </plugin> |
877 | 900 |
|
878 | | - <!-- Revapi Maven Plugin - https://revapi.org/modules/revapi-maven-plugin --> |
879 | | - <plugin> |
880 | | - <groupId>org.revapi</groupId> |
881 | | - <artifactId>revapi-maven-plugin</artifactId> |
882 | | - <version>${revapi-maven-plugin.version}</version> |
883 | | - <dependencies> |
884 | | - <dependency> |
885 | | - <groupId>org.revapi</groupId> |
886 | | - <artifactId>revapi-java</artifactId> |
887 | | - <version>${revapi-java.version}</version> |
888 | | - </dependency> |
889 | | - </dependencies> |
890 | | - </plugin> |
891 | | - |
892 | | - <!-- SciJava Maven plugin - https://github.com/scijava/scijava-maven-plugin --> |
| 901 | + <!-- Exists Maven Plugin - https://github.com/chonton/exists-maven-plugin --> |
893 | 902 | <plugin> |
894 | | - <groupId>org.scijava</groupId> |
895 | | - <artifactId>scijava-maven-plugin</artifactId> |
896 | | - <version>${scijava-maven-plugin.version}</version> |
| 903 | + <groupId>org.honton.chas</groupId> |
| 904 | + <artifactId>exists-maven-plugin</artifactId> |
| 905 | + <version>${exists-maven-plugin.version}</version> |
897 | 906 | <executions> |
898 | 907 | <execution> |
899 | | - <id>set-rootdir</id> |
900 | | - <phase>validate</phase> |
901 | 908 | <goals> |
902 | | - <goal>set-rootdir</goal> |
| 909 | + <goal>remote</goal> |
903 | 910 | </goals> |
904 | 911 | </execution> |
905 | 912 | </executions> |
906 | 913 | </plugin> |
907 | 914 |
|
908 | | - <!-- Exists Maven Plugin - https://github.com/chonton/exists-maven-plugin --> |
| 915 | + <!-- |
| 916 | + JaCoCo Maven plugin - |
| 917 | + https://www.jacoco.org/jacoco/trunk/doc/maven.html |
| 918 | + This plugin measures code coverage of tests. |
| 919 | + --> |
909 | 920 | <plugin> |
910 | | - <groupId>org.honton.chas</groupId> |
911 | | - <artifactId>exists-maven-plugin</artifactId> |
912 | | - <version>${exists-maven-plugin.version}</version> |
| 921 | + <groupId>org.jacoco</groupId> |
| 922 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 923 | + <version>${jacoco-maven-plugin.version}</version> |
913 | 924 | <executions> |
914 | 925 | <execution> |
| 926 | + <id>jacoco-initialize</id> |
915 | 927 | <goals> |
916 | | - <goal>remote</goal> |
| 928 | + <goal>prepare-agent</goal> |
| 929 | + </goals> |
| 930 | + </execution> |
| 931 | + <execution> |
| 932 | + <id>jacoco-site</id> |
| 933 | + <phase>package</phase> |
| 934 | + <goals> |
| 935 | + <goal>report</goal> |
917 | 936 | </goals> |
918 | 937 | </execution> |
919 | 938 | </executions> |
920 | 939 | </plugin> |
921 | 940 |
|
922 | | - <!-- Formatter Maven Plugin - https://github.com/revelc/formatter-maven-plugin --> |
| 941 | + <!-- Revapi Maven Plugin - https://revapi.org/modules/revapi-maven-plugin --> |
923 | 942 | <plugin> |
924 | | - <groupId>net.revelc.code.formatter</groupId> |
925 | | - <artifactId>formatter-maven-plugin</artifactId> |
926 | | - <version>${formatter-maven-plugin.version}</version> |
| 943 | + <groupId>org.revapi</groupId> |
| 944 | + <artifactId>revapi-maven-plugin</artifactId> |
| 945 | + <version>${revapi-maven-plugin.version}</version> |
927 | 946 | <dependencies> |
928 | 947 | <dependency> |
929 | | - <groupId>org.scijava</groupId> |
930 | | - <artifactId>scijava-coding-style</artifactId> |
931 | | - <version>${scijava-coding-style.version}</version> |
| 948 | + <groupId>org.revapi</groupId> |
| 949 | + <artifactId>revapi-java</artifactId> |
| 950 | + <version>${revapi-java.version}</version> |
932 | 951 | </dependency> |
933 | 952 | </dependencies> |
934 | | - <configuration> |
935 | | - <configFile>eclipse-formatter-settings/${scijava.coding-style}-coding-style.xml</configFile> |
936 | | - </configuration> |
937 | 953 | </plugin> |
938 | 954 |
|
939 | | - <!-- ImpSort Maven Plugin - https://github.com/revelc/impsort-maven-plugin --> |
| 955 | + <!-- |
| 956 | + SonarScanner Maven plugin - |
| 957 | + https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-maven/ |
| 958 | + SonarQube scanner for java projects. |
| 959 | + --> |
940 | 960 | <plugin> |
941 | | - <groupId>net.revelc.code</groupId> |
942 | | - <artifactId>impsort-maven-plugin</artifactId> |
943 | | - <version>${impsort-maven-plugin.version}</version> |
944 | | - <configuration> |
945 | | - <groups>java.,javax.,com.,net.,org.</groups> |
946 | | - <staticGroups>java,*</staticGroups> |
947 | | - <removeUnused>true</removeUnused> |
948 | | - </configuration> |
949 | | - <executions> |
950 | | - <execution> |
951 | | - <phase>none</phase> |
952 | | - </execution> |
953 | | - </executions> |
| 961 | + <groupId>org.sonarsource.scanner.maven</groupId> |
| 962 | + <artifactId>sonar-maven-plugin</artifactId> |
| 963 | + <version>${sonar-maven-plugin.version}</version> |
954 | 964 | </plugin> |
955 | 965 | </plugins> |
956 | 966 | </pluginManagement> |
957 | 967 | <plugins> |
| 968 | + <!-- Core Maven plugins --> |
| 969 | + |
958 | 970 | <!-- Check desired rules during maven lifecycle. --> |
959 | 971 | <plugin> |
960 | 972 | <artifactId>maven-enforcer-plugin</artifactId> |
|
1079 | 1091 | <artifactId>maven-surefire-plugin</artifactId> |
1080 | 1092 | </plugin> |
1081 | 1093 |
|
| 1094 | + <!-- Codehaus Maven plugins --> |
| 1095 | + |
1082 | 1096 | <!-- Generate a package-friendly version property. --> |
1083 | 1097 | <plugin> |
1084 | 1098 | <groupId>org.codehaus.mojo</groupId> |
|
1091 | 1105 | <artifactId>buildnumber-maven-plugin</artifactId> |
1092 | 1106 | </plugin> |
1093 | 1107 |
|
1094 | | - <!-- Enable 'graph:' goals. --> |
1095 | | - <plugin> |
1096 | | - <groupId>org.fusesource.mvnplugins</groupId> |
1097 | | - <artifactId>maven-graph-plugin</artifactId> |
1098 | | - </plugin> |
1099 | | - |
1100 | | - <!-- Enable 'jfx:' goals. --> |
1101 | | - <plugin> |
1102 | | - <groupId>com.zenjava</groupId> |
1103 | | - <artifactId>javafx-maven-plugin</artifactId> |
1104 | | - </plugin> |
| 1108 | + <!-- SciJava Maven plugins --> |
1105 | 1109 |
|
1106 | 1110 | <!-- |
1107 | 1111 | Enable 'scijava:' goals and copying the artifacts |
|
1125 | 1129 | </executions> |
1126 | 1130 | </plugin> |
1127 | 1131 |
|
1128 | | - <!-- Formatter Maven Plugin - https://github.com/revelc/formatter-maven-plugin --> |
| 1132 | + <!-- Other Maven plugins --> |
| 1133 | + |
| 1134 | + <!-- Enable 'jfx:' goals. --> |
1129 | 1135 | <plugin> |
1130 | | - <groupId>net.revelc.code.formatter</groupId> |
1131 | | - <artifactId>formatter-maven-plugin</artifactId> |
| 1136 | + <groupId>com.zenjava</groupId> |
| 1137 | + <artifactId>javafx-maven-plugin</artifactId> |
1132 | 1138 | </plugin> |
1133 | 1139 |
|
1134 | 1140 | <!-- ImpSort Maven Plugin - https://github.com/revelc/impsort-maven-plugin --> |
|
1137 | 1143 | <artifactId>impsort-maven-plugin</artifactId> |
1138 | 1144 | </plugin> |
1139 | 1145 |
|
| 1146 | + <!-- Formatter Maven Plugin - https://github.com/revelc/formatter-maven-plugin --> |
| 1147 | + <plugin> |
| 1148 | + <groupId>net.revelc.code.formatter</groupId> |
| 1149 | + <artifactId>formatter-maven-plugin</artifactId> |
| 1150 | + </plugin> |
| 1151 | + |
| 1152 | + <!-- Enable 'graph:' goals. --> |
| 1153 | + <plugin> |
| 1154 | + <groupId>org.fusesource.mvnplugins</groupId> |
| 1155 | + <artifactId>maven-graph-plugin</artifactId> |
| 1156 | + </plugin> |
| 1157 | + |
1140 | 1158 | <!-- JaCoCo Maven plugin - https://www.jacoco.org/jacoco/trunk/doc/maven.html --> |
1141 | 1159 | <plugin> |
1142 | 1160 | <groupId>org.jacoco</groupId> |
|
0 commit comments