|
@@ -370,42 +370,15 @@
|
|
|
</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>${maven-surefire.version}</version>
|
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
|
+ <artifactId>cobertura-maven-plugin</artifactId>
|
|
|
+ <version>2.7</version>
|
|
|
<configuration>
|
|
|
- <useSystemClassLoader>true</useSystemClassLoader>
|
|
|
- <forkMode>once</forkMode>
|
|
|
- <argLine>${jacocoArgLine}</argLine>
|
|
|
+ <formats>
|
|
|
+ <format>html</format>
|
|
|
+ <format>xml</format>
|
|
|
+ </formats>
|
|
|
+ <check />
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<!-- javadoc -->
|