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 - openjdk11
install: mvn install -DskipTests -Dgpg.skip -B 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: after_success:
- bash <(curl -s https://codecov.io/bash) - bash <(curl -s https://codecov.io/bash)

28
pom.xml
View File

@ -132,17 +132,23 @@
</executions> </executions>
</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>0.8.4</version>
<configuration> <executions>
<quiet>true</quiet> <execution>
<formats> <goals>
<format>html</format> <goal>prepare-agent</goal>
<format>xml</format> </goals>
</formats> </execution>
<check /> <execution>
</configuration> <id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>