|
|
|
@ -409,6 +409,14 @@
|
|
|
|
|
</exclusions> |
|
|
|
|
</dependency> |
|
|
|
|
|
|
|
|
|
<dependency> |
|
|
|
|
<groupId>org.jacoco</groupId> |
|
|
|
|
<artifactId>org.jacoco.agent</artifactId> |
|
|
|
|
<version>${jacoco.version}</version> |
|
|
|
|
<classifier>runtime</classifier> |
|
|
|
|
<scope>test</scope> |
|
|
|
|
</dependency> |
|
|
|
|
|
|
|
|
|
<dependency> |
|
|
|
|
<groupId>mysql</groupId> |
|
|
|
|
<artifactId>mysql-connector-java</artifactId> |
|
|
|
@ -826,6 +834,9 @@
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId> |
|
|
|
|
<version>${maven-surefire-plugin.version}</version> |
|
|
|
|
<configuration> |
|
|
|
|
<systemPropertyVariables> |
|
|
|
|
<jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile> |
|
|
|
|
</systemPropertyVariables> |
|
|
|
|
<includes> |
|
|
|
|
<!--registry plugin --> |
|
|
|
|
<include>**/plugin/registry/zookeeper/ZookeeperRegistryTest.java</include> |
|
|
|
@ -1092,19 +1103,23 @@
|
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId> |
|
|
|
|
<version>${jacoco.version}</version> |
|
|
|
|
<configuration> |
|
|
|
|
<destFile>target/jacoco.exec</destFile> |
|
|
|
|
<dataFile>target/jacoco.exec</dataFile> |
|
|
|
|
<dataFile>${project.build.directory}/jacoco.exec</dataFile> |
|
|
|
|
</configuration> |
|
|
|
|
<executions> |
|
|
|
|
<execution> |
|
|
|
|
<id>jacoco-initialize</id> |
|
|
|
|
<id>default-instrument</id> |
|
|
|
|
<goals> |
|
|
|
|
<goal>instrument</goal> |
|
|
|
|
</goals> |
|
|
|
|
</execution> |
|
|
|
|
<execution> |
|
|
|
|
<id>default-restore-instrumented-classes</id> |
|
|
|
|
<goals> |
|
|
|
|
<goal>prepare-agent</goal> |
|
|
|
|
<goal>restore-instrumented-classes</goal> |
|
|
|
|
</goals> |
|
|
|
|
</execution> |
|
|
|
|
<execution> |
|
|
|
|
<id>jacoco-site</id> |
|
|
|
|
<phase>test</phase> |
|
|
|
|
<id>default-report</id> |
|
|
|
|
<goals> |
|
|
|
|
<goal>report</goal> |
|
|
|
|
</goals> |
|
|
|
|