Replaced cobertura with jacoco plugin.

This commit is contained in:
Alexey Zinchenko 2019-06-17 22:31:16 +03:00
parent a9fd20b494
commit 1101ec03db
2 changed files with 18 additions and 12 deletions

View File

@ -5,7 +5,7 @@ jdk:
- openjdk11
install: mvn install -DskipTests -Dgpg.skip -B
script: mvn cobertura:cobertura -Dmaven.skip.deploy=true -B
script: mvn test -Dmaven.skip.deploy=true -B
after_success:
- bash <(curl -s https://codecov.io/bash)

28
pom.xml
View File

@ -132,17 +132,23 @@
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<quiet>true</quiet>
<formats>
<format>html</format>
<format>xml</format>
</formats>
<check />
</configuration>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.4</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>
</plugins>
</build>