Replace cobertura with jacoco to generate code-coverage for codecov.io

Change-Id: I031144c375d73aaa39d0a6111d37223ad6e4d655
pull/972/merge
Leonard Brünings 2017-04-04 15:27:22 +02:00 committed by Justin Richer
parent f43ff53683
commit 2aecedfb3d
1 changed files with 22 additions and 38 deletions

54
pom.xml
View File

@ -250,6 +250,25 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.9</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
@ -315,28 +334,6 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<formats>
<format>html</format>
<format>xml</format>
</formats>
</configuration>
<!-- <exclusions> -->
<!-- <exclusion> -->
<!-- <groupId>asm</groupId> -->
<!-- <artifactId>asm</artifactId> -->
<!-- </exclusion> -->
<!-- <exclusion> -->
<!-- <groupId>asm</groupId> -->
<!-- <artifactId>asm-attrs</artifactId> -->
<!-- </exclusion> -->
<!-- </exclusions> -->
</plugin>
</reportPlugins>
</configuration>
</plugin>
@ -512,14 +509,6 @@
<version>1.9.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<scope>test</scope>
<type>maven-plugin</type>
</dependency>
<!-- MITREid Connect components -->
<dependency>
<groupId>org.mitre</groupId>
@ -650,11 +639,6 @@
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
</dependency>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<type>maven-plugin</type>
</dependency>
</dependencies>
</project>