File tree 1 file changed +21
-1
lines changed
1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ com.fasterxml.jackson.core.*;version=${project.version}
58
58
59
59
<!-- for Reproducible Builds -->
60
60
<project .build.outputTimestamp>2024-09-27T01:42:02Z</project .build.outputTimestamp>
61
+
62
+ <!-- for validation of JaCoCo execution -->
63
+ <jacocoStrict >true</jacocoStrict >
61
64
</properties >
62
65
63
66
<!-- Alas, need to include snapshot reference since otherwise can not find
@@ -88,7 +91,7 @@ com.fasterxml.jackson.core.*;version=${project.version}
88
91
</execution >
89
92
<execution >
90
93
<id >report</id >
91
- <phase >test </phase >
94
+ <phase >verify </phase >
92
95
<goals >
93
96
<goal >report</goal >
94
97
</goals >
@@ -105,6 +108,23 @@ com.fasterxml.jackson.core.*;version=${project.version}
105
108
<phase >validate</phase >
106
109
<goals ><goal >enforce</goal ></goals >
107
110
</execution >
111
+ <execution >
112
+ <id >enforce-jacoco-exec</id >
113
+ <phase >verify</phase >
114
+ <goals >
115
+ <goal >enforce</goal >
116
+ </goals >
117
+ <configuration >
118
+ <rules >
119
+ <requireFilesExist >
120
+ <files >
121
+ <file >${project.build.directory} /jacoco.exec</file >
122
+ </files >
123
+ </requireFilesExist >
124
+ </rules >
125
+ <fail >${jacocoStrict} </fail >
126
+ </configuration >
127
+ </execution >
108
128
</executions >
109
129
</plugin >
110
130
You can’t perform that action at this time.
0 commit comments