File tree 3 files changed +14
-61
lines changed
3 files changed +14
-61
lines changed Original file line number Diff line number Diff line change 37
37
cache : maven
38
38
- name : Build
39
39
# executing ITs requires installing artifacts to the local repository
40
- run : mvn -B install -Pcoverage -PintegrationTesting -Dnsfixtures=SEGMENT_TAR,DOCUMENT_NS
40
+ run : mvn -B install -Pcoverage,integrationTesting,javadoc -Dnsfixtures=SEGMENT_TAR,DOCUMENT_NS
41
41
- name : Upload build result
42
42
uses : actions/upload-artifact@v4
43
43
with :
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def buildModule(moduleSpec) {
63
63
// clean all modules
64
64
sh " ${ MAVEN_CMD} -T 1C clean"
65
65
// build and install up to desired module
66
- sh " ${ MAVEN_CMD} -Dbaseline.skip=true -Prat - T 1C install -DskipTests -pl :${ moduleName} -am"
66
+ sh " ${ MAVEN_CMD} -Dbaseline.skip=true -T 1C install -DskipTests -pl :${ moduleName} -am"
67
67
try {
68
68
sh " ${ MAVEN_CMD} ${ testOptions} -DtrimStackTrace=false -Dnsfixtures=SEGMENT_TAR,DOCUMENT_NS -Dmongo.db=MongoMKDB-${ MONGODB_SUFFIX} clean verify -pl :${ moduleName} "
69
69
} finally {
Original file line number Diff line number Diff line change 453
453
</execution >
454
454
</executions >
455
455
</plugin >
456
+ <plugin >
457
+ <groupId >org.apache.rat</groupId >
458
+ <artifactId >apache-rat-plugin</artifactId >
459
+ <executions >
460
+ <execution >
461
+ <phase >verify</phase >
462
+ <goals >
463
+ <goal >check</goal >
464
+ </goals >
465
+ </execution >
466
+ </executions >
467
+ </plugin >
456
468
</plugins >
457
469
</build >
458
470
936
948
</execution >
937
949
</executions >
938
950
</plugin >
939
- <plugin >
940
- <groupId >org.apache.rat</groupId >
941
- <artifactId >apache-rat-plugin</artifactId >
942
- <executions >
943
- <execution >
944
- <phase >verify</phase >
945
- <goals >
946
- <goal >check</goal >
947
- </goals >
948
- </execution >
949
- </executions >
950
- </plugin >
951
951
<plugin >
952
952
<artifactId >maven-checkstyle-plugin</artifactId >
953
953
<configuration >
1023
1023
</build >
1024
1024
</profile >
1025
1025
1026
- <profile >
1027
- <id >rat</id >
1028
- <build >
1029
- <plugins >
1030
- <plugin >
1031
- <groupId >org.apache.rat</groupId >
1032
- <artifactId >apache-rat-plugin</artifactId >
1033
- <executions >
1034
- <execution >
1035
- <phase >verify</phase >
1036
- <goals >
1037
- <goal >check</goal >
1038
- </goals >
1039
- </execution >
1040
- </executions >
1041
- </plugin >
1042
- <plugin >
1043
- <artifactId >maven-surefire-plugin</artifactId >
1044
- <configuration >
1045
- <!-- run a test to prevent Jenkins from failing because no test ran -->
1046
- <test >PathUtilsTest</test >
1047
- <failIfNoSpecifiedTests >false</failIfNoSpecifiedTests >
1048
- </configuration >
1049
- </plugin >
1050
- </plugins >
1051
- </build >
1052
- </profile >
1053
1026
<profile >
1054
1027
<id >javadoc</id >
1055
1028
<build >
1065
1038
</execution >
1066
1039
</executions >
1067
1040
</plugin >
1068
- <plugin >
1069
- <artifactId >maven-surefire-plugin</artifactId >
1070
- <configuration >
1071
- <!-- run a test to prevent Jenkins from failing because no test ran -->
1072
- <test >PathUtilsTest</test >
1073
- <failIfNoSpecifiedTests >false</failIfNoSpecifiedTests >
1074
- </configuration >
1075
- </plugin >
1076
1041
</plugins >
1077
1042
</build >
1078
1043
</profile >
1079
1044
<profile >
1080
1045
<id >pedantic</id >
1081
1046
<build >
1082
1047
<plugins >
1083
- <plugin >
1084
- <groupId >org.apache.rat</groupId >
1085
- <artifactId >apache-rat-plugin</artifactId >
1086
- <executions >
1087
- <execution >
1088
- <phase >verify</phase >
1089
- <goals >
1090
- <goal >check</goal >
1091
- </goals >
1092
- </execution >
1093
- </executions >
1094
- </plugin >
1095
1048
<plugin >
1096
1049
<artifactId >maven-checkstyle-plugin</artifactId >
1097
1050
<configuration >
You can’t perform that action at this time.
0 commit comments