You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cobetura has trouble with lambda expressions in java 8 (cobertura/cobertura#176). One work around could be to use the jacoco plugin, IF it works with travis.
E.g.: <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.2</version> <executions> <execution> <id>jacoco-initialize</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>jacoco-report</id> <phase>site</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
The report is then added to the site package and can be displayed with target/site/index.html <reporting> ... <!--report code Coverage with Jacoco --> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <reportSets> <reportSet> <reports> <!-- select non-aggregate reports --> <report>report</report> </reports> </reportSet> </reportSets> </plugin> ... </reporting>
The text was updated successfully, but these errors were encountered:
Cobetura has trouble with lambda expressions in java 8 (cobertura/cobertura#176). One work around could be to use the jacoco plugin, IF it works with travis.
E.g.:
<build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.2</version> <executions> <execution> <id>jacoco-initialize</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>jacoco-report</id> <phase>site</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
The report is then added to the site package and can be displayed with target/site/index.html
<reporting> ... <!--report code Coverage with Jacoco --> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <reportSets> <reportSet> <reports> <!-- select non-aggregate reports --> <report>report</report> </reports> </reportSet> </reportSets> </plugin> ... </reporting>
The text was updated successfully, but these errors were encountered: