mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
update jacoco lib
This commit is contained in:
47
pom.xml
47
pom.xml
@@ -96,8 +96,8 @@
|
|||||||
<maven.test.skip>true</maven.test.skip>
|
<maven.test.skip>true</maven.test.skip>
|
||||||
<downloadSources>true</downloadSources>
|
<downloadSources>true</downloadSources>
|
||||||
<!-- compiler settings properties -->
|
<!-- compiler settings properties -->
|
||||||
<java_source_version>1.7</java_source_version>
|
<java_source_version>1.8</java_source_version>
|
||||||
<java_target_version>1.7</java_target_version>
|
<java_target_version>1.<8/java_target_version>
|
||||||
<file_encoding>UTF-8</file_encoding>
|
<file_encoding>UTF-8</file_encoding>
|
||||||
<spring_version>3.2.18.RELEASE</spring_version>
|
<spring_version>3.2.18.RELEASE</spring_version>
|
||||||
<maven-jacoco-plugin.version>0.8.3</maven-jacoco-plugin.version>
|
<maven-jacoco-plugin.version>0.8.3</maven-jacoco-plugin.version>
|
||||||
@@ -370,15 +370,42 @@
|
|||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.jacoco</groupId>
|
||||||
<artifactId>cobertura-maven-plugin</artifactId>
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||||||
<version>2.7</version>
|
<version>${maven-jacoco-plugin.version}</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>prepare-agent</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<destFile>
|
||||||
|
${project.build.directory}/coverage-reports/jacoco.exec
|
||||||
|
</destFile>
|
||||||
|
<propertyName>jacocoArgLine</propertyName>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>report</id>
|
||||||
|
<phase>test</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>report</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
|
||||||
|
<outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<version>${maven-surefire.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<formats>
|
<useSystemClassLoader>true</useSystemClassLoader>
|
||||||
<format>html</format>
|
<forkMode>once</forkMode>
|
||||||
<format>xml</format>
|
<argLine>${jacocoArgLine}</argLine>
|
||||||
</formats>
|
|
||||||
<check />
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- javadoc -->
|
<!-- javadoc -->
|
||||||
|
|||||||
Reference in New Issue
Block a user