|
164 | 164 | </dependency> |
165 | 165 | </dependencies> |
166 | 166 |
|
| 167 | + <profiles> |
| 168 | + <profile> |
| 169 | + <id>coverage</id> |
| 170 | + <build> |
| 171 | + <plugins> |
| 172 | + <plugin> |
| 173 | + <groupId>org.apache.maven.plugins</groupId> |
| 174 | + <artifactId>maven-surefire-plugin</artifactId> |
| 175 | + <version>2.20.1</version> |
| 176 | + <configuration> |
| 177 | + <systemPropertyVariables> |
| 178 | + <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile> |
| 179 | + </systemPropertyVariables> |
| 180 | + </configuration> |
| 181 | + </plugin> |
| 182 | + <plugin> |
| 183 | + <groupId>org.jacoco</groupId> |
| 184 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 185 | + <version>${jacoco.version}</version> |
| 186 | + <executions> |
| 187 | + <execution> |
| 188 | + <id>default-instrument</id> |
| 189 | + <goals> |
| 190 | + <goal>instrument</goal> |
| 191 | + </goals> |
| 192 | + </execution> |
| 193 | + <execution> |
| 194 | + <id>default-restore-instrumented-classes</id> |
| 195 | + <goals> |
| 196 | + <goal>restore-instrumented-classes</goal> |
| 197 | + </goals> |
| 198 | + <phase>post-integration-test</phase> |
| 199 | + </execution> |
| 200 | + <execution> |
| 201 | + <id>default-report</id> |
| 202 | + <goals> |
| 203 | + <goal>report</goal> |
| 204 | + </goals> |
| 205 | + </execution> |
| 206 | + </executions> |
| 207 | + </plugin> |
| 208 | + </plugins> |
| 209 | + </build> |
| 210 | + </profile> |
| 211 | + </profiles> |
167 | 212 | <build> |
168 | 213 | <resources> |
169 | 214 | <resource> |
|
260 | 305 | </execution> |
261 | 306 | </executions> |
262 | 307 | </plugin> |
263 | | - <plugin> |
264 | | - <groupId>org.apache.maven.plugins</groupId> |
265 | | - <artifactId>maven-surefire-plugin</artifactId> |
266 | | - <version>2.20.1</version> |
267 | | - <configuration> |
268 | | - <systemPropertyVariables> |
269 | | - <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile> |
270 | | - </systemPropertyVariables> |
271 | | - </configuration> |
272 | | - </plugin> |
273 | | - <plugin> |
274 | | - <groupId>org.jacoco</groupId> |
275 | | - <artifactId>jacoco-maven-plugin</artifactId> |
276 | | - <version>${jacoco.version}</version> |
277 | | - <executions> |
278 | | - <execution> |
279 | | - <id>default-instrument</id> |
280 | | - <goals> |
281 | | - <goal>instrument</goal> |
282 | | - </goals> |
283 | | - </execution> |
284 | | - <execution> |
285 | | - <id>default-restore-instrumented-classes</id> |
286 | | - <goals> |
287 | | - <goal>restore-instrumented-classes</goal> |
288 | | - </goals> |
289 | | - <phase>post-integration-test</phase> |
290 | | - </execution> |
291 | | - <execution> |
292 | | - <id>default-report</id> |
293 | | - <goals> |
294 | | - <goal>report</goal> |
295 | | - </goals> |
296 | | - </execution> |
297 | | - </executions> |
298 | | - </plugin> |
299 | 308 | <plugin> |
300 | 309 | <groupId>org.apache.maven.plugins</groupId> |
301 | 310 | <artifactId>maven-gpg-plugin</artifactId> |
|
0 commit comments