|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 4 | <modelVersion>4.0.0</modelVersion>
|
4 |
| - |
| 5 | + <name>github-java-client</name> |
5 | 6 | <artifactId>github-client</artifactId>
|
6 | 7 | <version>0.4.11-SNAPSHOT</version>
|
7 | 8 |
|
|
286 | 287 |
|
287 | 288 | <profiles>
|
288 | 289 | <profile>
|
289 |
| - <id>coverage</id> |
290 |
| - <build> |
291 |
| - <plugins> |
292 |
| - <plugin> |
293 |
| - <groupId>org.jacoco</groupId> |
294 |
| - <artifactId>jacoco-maven-plugin</artifactId> |
295 |
| - <version>0.8.5</version> |
296 |
| - <configuration> |
297 |
| - <!--Configure to work on codecov--> |
298 |
| - <!--https://github.com/codecov/example-java/blob/master/pom.xml--> |
299 |
| - <excludes> |
300 |
| - <exclude>**/*Builder*</exclude> |
301 |
| - <exclude>**/*Immutable*</exclude> |
302 |
| - <exclude>**/*_Factory*</exclude> |
303 |
| - <exclude>**/*_*Factory*.*</exclude> |
304 |
| - <exclude>**/generated-sources*.*</exclude> |
305 |
| - </excludes> |
306 |
| - <rules> |
307 |
| - <rule implementation="org.jacoco.maven.RuleConfiguration"> |
308 |
| - <element>BUNDLE</element> |
309 |
| - <limits> |
310 |
| - <limit implementation="org.jacoco.report.check.Limit"> |
311 |
| - <counter>INSTRUCTION</counter> |
312 |
| - <value>COVEREDRATIO</value> |
313 |
| - <minimum>0.60</minimum> |
314 |
| - </limit> |
315 |
| - </limits> |
316 |
| - </rule> |
317 |
| - </rules> |
318 |
| - </configuration> |
319 |
| - <executions> |
320 |
| - <execution> |
321 |
| - <id>pre-test</id> |
322 |
| - <goals> |
323 |
| - <goal>prepare-agent</goal> |
324 |
| - </goals> |
325 |
| - </execution> |
326 |
| - <execution> |
327 |
| - <id>default-check</id> |
328 |
| - <goals> |
329 |
| - <goal>check</goal> |
330 |
| - </goals> |
331 |
| - </execution> |
332 |
| - <execution> |
333 |
| - <id>post-unit-test</id> |
334 |
| - <phase>test</phase> |
335 |
| - <goals> |
336 |
| - <goal>report</goal> |
337 |
| - </goals> |
338 |
| - </execution> |
339 |
| - </executions> |
340 |
| - </plugin> |
341 |
| - </plugins> |
342 |
| - </build> |
| 290 | + <id>coverage</id> |
| 291 | + <build> |
| 292 | + <plugins> |
| 293 | + <plugin> |
| 294 | + <groupId>org.jacoco</groupId> |
| 295 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 296 | + <version>0.8.5</version> |
| 297 | + <configuration> |
| 298 | + <!--Configure to work on codecov--> |
| 299 | + <!--https://github.com/codecov/example-java/blob/master/pom.xml--> |
| 300 | + <excludes> |
| 301 | + <exclude>**/*Builder*</exclude> |
| 302 | + <exclude>**/*Immutable*</exclude> |
| 303 | + <exclude>**/*_Factory*</exclude> |
| 304 | + <exclude>**/*_*Factory*.*</exclude> |
| 305 | + <exclude>**/generated-sources*.*</exclude> |
| 306 | + </excludes> |
| 307 | + <rules> |
| 308 | + <rule implementation="org.jacoco.maven.RuleConfiguration"> |
| 309 | + <element>BUNDLE</element> |
| 310 | + <limits> |
| 311 | + <limit implementation="org.jacoco.report.check.Limit"> |
| 312 | + <counter>INSTRUCTION</counter> |
| 313 | + <value>COVEREDRATIO</value> |
| 314 | + <minimum>0.60</minimum> |
| 315 | + </limit> |
| 316 | + </limits> |
| 317 | + </rule> |
| 318 | + </rules> |
| 319 | + </configuration> |
| 320 | + <executions> |
| 321 | + <execution> |
| 322 | + <id>pre-test</id> |
| 323 | + <goals> |
| 324 | + <goal>prepare-agent</goal> |
| 325 | + </goals> |
| 326 | + </execution> |
| 327 | + <execution> |
| 328 | + <id>default-check</id> |
| 329 | + <goals> |
| 330 | + <goal>check</goal> |
| 331 | + </goals> |
| 332 | + </execution> |
| 333 | + <execution> |
| 334 | + <id>post-unit-test</id> |
| 335 | + <phase>test</phase> |
| 336 | + <goals> |
| 337 | + <goal>report</goal> |
| 338 | + </goals> |
| 339 | + </execution> |
| 340 | + </executions> |
| 341 | + </plugin> |
| 342 | + </plugins> |
| 343 | + </build> |
343 | 344 | </profile>
|
344 | 345 |
|
345 | 346 | <profile>
|
|
359 | 360 | <goal>sign</goal>
|
360 | 361 | </goals>
|
361 | 362 | <configuration>
|
| 363 | + <!-- Prevent gpg from using pinentry programs --> |
362 | 364 | <gpgArguments>
|
363 | 365 | <arg>--pinentry-mode</arg>
|
364 | 366 | <arg>loopback</arg>
|
| 367 | + <arg>--no-tty</arg> |
365 | 368 | </gpgArguments>
|
366 | 369 | </configuration>
|
367 | 370 | </execution>
|
|
395 | 398 | </plugins>
|
396 | 399 | </build>
|
397 | 400 | </profile>
|
398 |
| - </profiles> |
| 401 | + </profiles> |
399 | 402 |
|
400 | 403 | <build>
|
401 | 404 | <plugins>
|
|
461 | 464 | <id>enforce</id>
|
462 | 465 | <configuration>
|
463 | 466 | <rules>
|
464 |
| - <requireUpperBoundDeps /> |
| 467 | + <requireUpperBoundDeps/> |
465 | 468 | </rules>
|
466 | 469 | </configuration>
|
467 | 470 | <goals>
|
|
0 commit comments