|
155 | 155 | <osgi.import.package.root>*</osgi.import.package.root> |
156 | 156 | <osgi.import.package>${osgi.import.package.root}</osgi.import.package> |
157 | 157 |
|
| 158 | + <jacoco.propertyName>jacocoArgLine</jacoco.propertyName> |
158 | 159 | </properties> |
159 | 160 |
|
160 | 161 | <dependencyManagement> |
|
363 | 364 | <artifactId>maven-surefire-plugin</artifactId> |
364 | 365 | <version>${surefire.version}</version> |
365 | 366 | <configuration> |
366 | | - <argLine>--add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED</argLine> |
| 367 | + <argLine>${jacocoArgLine} --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED</argLine> |
367 | 368 | <environmentVariables> |
368 | 369 | <TZ>UTC</TZ> |
369 | 370 | </environmentVariables> |
|
484 | 485 | <outputDirectory>../target/dist</outputDirectory> |
485 | 486 | </configuration> |
486 | 487 | </plugin> |
487 | | - <plugin> |
488 | | - <groupId>org.jacoco</groupId> |
489 | | - <artifactId>jacoco-maven-plugin</artifactId> |
490 | | - <version>0.8.13</version> |
491 | | - <executions> |
492 | | - <execution> |
493 | | - <id>prepare-agent</id> |
494 | | - <goals> |
495 | | - <goal>prepare-agent</goal> |
496 | | - </goals> |
497 | | - </execution> |
498 | | - </executions> |
499 | | - </plugin> |
| 488 | + |
500 | 489 | <plugin> |
501 | 490 | <groupId>org.apache.maven.plugins</groupId> |
502 | 491 | <artifactId>maven-compiler-plugin</artifactId> |
|
553 | 542 | </configuration> |
554 | 543 | </plugin> |
555 | 544 |
|
| 545 | + <plugin> |
| 546 | + <groupId>org.jacoco</groupId> |
| 547 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 548 | + <version>0.8.13</version> |
| 549 | + <configuration> |
| 550 | + <includes> |
| 551 | + <include>com/querydsl/**</include> |
| 552 | + </includes> |
| 553 | + </configuration> |
| 554 | + </plugin> |
| 555 | + <plugin> |
| 556 | + <groupId>com.marvinformatics.jacoco</groupId> |
| 557 | + <artifactId>easy-jacoco-maven-plugin</artifactId> |
| 558 | + <version>0.1.3</version> |
| 559 | + <configuration> |
| 560 | + <projectRules> |
| 561 | + <rule> |
| 562 | + <limits> |
| 563 | + <limit> |
| 564 | + <counter>INSTRUCTION</counter> |
| 565 | + <value>COVEREDRATIO</value> |
| 566 | + <minimum>0.70</minimum> |
| 567 | + </limit> |
| 568 | + </limits> |
| 569 | + </rule> |
| 570 | + </projectRules> |
| 571 | + <haltOnFailure>true</haltOnFailure> |
| 572 | + <projectExtraProperties> |
| 573 | + <enforcer.skip>true</enforcer.skip> |
| 574 | + <license.skip>true</license.skip> |
| 575 | + </projectExtraProperties> |
| 576 | + <includes> |
| 577 | + <include>com/querydsl/**</include> |
| 578 | + </includes> |
| 579 | + <excludeModules> |
| 580 | + <excludeModule>querydsl-scala</excludeModule> |
| 581 | + </excludeModules> |
| 582 | + </configuration> |
| 583 | + </plugin> |
| 584 | + |
556 | 585 | <plugin> |
557 | 586 | <groupId>org.apache.maven.plugins</groupId> |
558 | 587 | <artifactId>maven-scm-plugin</artifactId> |
|
765 | 794 | <animal.sniffer.skip>true</animal.sniffer.skip> |
766 | 795 | <japicmp.skip>true</japicmp.skip> |
767 | 796 | <maven.javadoc.skip>true</maven.javadoc.skip> |
| 797 | + <easy-jacoco.skip>true</easy-jacoco.skip> |
768 | 798 | </properties> |
769 | 799 | </profile> |
770 | 800 |
|
|
0 commit comments