mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
update pom
This commit is contained in:
43
pom.xml
43
pom.xml
@@ -100,7 +100,8 @@
|
||||
<java_target_version>1.7</java_target_version>
|
||||
<file_encoding>UTF-8</file_encoding>
|
||||
<spring_version>3.2.18.RELEASE</spring_version>
|
||||
<maven_jacoco_version>0.8.3</maven_jacoco_version>
|
||||
<maven-jacoco-plugin.version>0.8.3</maven-jacoco-plugin.version>
|
||||
<maven-surefire.version>2.22.1</maven-surefire.version>
|
||||
</properties>
|
||||
|
||||
<modules>
|
||||
@@ -368,17 +369,43 @@
|
||||
</additionalConfig>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<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>2.5</version>
|
||||
<version>${maven-surefire.version}</version>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/*Test.java</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/*NoRunTest.java</exclude>
|
||||
</excludes>
|
||||
<useSystemClassLoader>true</useSystemClassLoader>
|
||||
<forkMode>once</forkMode>
|
||||
<argLine>${jacocoArgLine}</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- javadoc -->
|
||||
|
||||
Reference in New Issue
Block a user