File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 171
171
<groupId >org.jacoco</groupId >
172
172
<artifactId >jacoco-maven-plugin</artifactId >
173
173
<version >0.7.9</version >
174
+ <executions >
175
+ <!-- Prepare execution with Surefire -->
176
+ <execution >
177
+ <id >pre-unit-test</id >
178
+ <goals >
179
+ <goal >prepare-agent</goal >
180
+ </goals >
181
+ <configuration >
182
+ <propertyName >surefireArgLine</propertyName >
183
+ </configuration >
184
+ </execution >
185
+ <!-- Generate report after tests are run -->
186
+ <execution >
187
+ <id >post-unit-test</id >
188
+ <phase >test</phase >
189
+ <goals >
190
+ <goal >report</goal >
191
+ </goals >
192
+ </execution >
193
+ </executions >
174
194
</plugin >
175
195
<plugin >
176
196
<groupId >org.apache.maven.plugins</groupId >
257
277
</reportSets >
258
278
</plugin >
259
279
<plugin >
280
+ <!-- UNIT TEST RUNNER -->
260
281
<groupId >org.apache.maven.plugins</groupId >
261
282
<artifactId >maven-surefire-report-plugin</artifactId >
262
283
<version >2.20</version >
284
+ <configuration >
285
+ <argLine >${surefireArgLine} </argLine >
286
+ </configuration >
287
+ <executions >
288
+ <execution >
289
+ <id >run-unit-tests</id >
290
+ <goals >
291
+ <goal >test</goal >
292
+ </goals >
293
+ </execution >
294
+ </executions >
263
295
</plugin >
296
+ <!-- CODE COVERAGE PUBLISHER -->
297
+ <plugin >
298
+ <groupId >org.eluder.coveralls</groupId >
299
+ <artifactId >coveralls-maven-plugin</artifactId >
300
+ <version >3.1.0</version >
301
+ </plugin >
264
302
<plugin >
265
303
<groupId >org.apache.maven.plugins</groupId >
266
304
<artifactId >maven-jxr-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments