File tree 1 file changed +37
-27
lines changed
1 file changed +37
-27
lines changed Original file line number Diff line number Diff line change 205
205
</execution >
206
206
</executions >
207
207
</plugin >
208
- <plugin >
209
- <groupId >org.jacoco</groupId >
210
- <artifactId >jacoco-maven-plugin</artifactId >
211
- <version >${jacoco-maven-plugin.version} </version >
212
- <executions >
213
- <execution >
214
- <id >pre-unit-test</id >
215
- <goals >
216
- <goal >prepare-agent</goal >
217
- </goals >
218
- <configuration >
219
- <propertyName >surefireArgLine</propertyName >
220
- <destFile >${project.build.directory} /jacoco.exec</destFile >
221
- </configuration >
222
- </execution >
223
- <execution >
224
- <id >post-unit-test</id >
225
- <phase >test</phase >
226
- <goals >
227
- <goal >report</goal >
228
- </goals >
229
- <configuration >
230
- <dataFile >${project.build.directory} /jacoco.exec</dataFile >
231
- </configuration >
232
- </execution >
233
- </executions >
234
- </plugin >
235
208
<plugin >
236
209
<groupId >org.codehaus.mojo</groupId >
237
210
<artifactId >flatten-maven-plugin</artifactId >
267
240
</plugins >
268
241
</build >
269
242
243
+ <profiles >
244
+ <profile >
245
+ <id >test-coverage</id >
246
+ <build >
247
+ <plugins >
248
+ <plugin >
249
+ <groupId >org.jacoco</groupId >
250
+ <artifactId >jacoco-maven-plugin</artifactId >
251
+ <version >${jacoco-maven-plugin.version} </version >
252
+ <executions >
253
+ <execution >
254
+ <id >pre-unit-test</id >
255
+ <goals >
256
+ <goal >prepare-agent</goal >
257
+ </goals >
258
+ <configuration >
259
+ <propertyName >surefireArgLine</propertyName >
260
+ <destFile >${project.build.directory} /jacoco.exec</destFile >
261
+ </configuration >
262
+ </execution >
263
+ <execution >
264
+ <id >post-unit-test</id >
265
+ <phase >test</phase >
266
+ <goals >
267
+ <goal >report</goal >
268
+ </goals >
269
+ <configuration >
270
+ <dataFile >${project.build.directory} /jacoco.exec</dataFile >
271
+ </configuration >
272
+ </execution >
273
+ </executions >
274
+ </plugin >
275
+ </plugins >
276
+ </build >
277
+ </profile >
278
+ </profiles >
279
+
270
280
<repositories >
271
281
<repository >
272
282
<id >maven-central</id >
You can’t perform that action at this time.
0 commit comments