Commit 4f00e827 authored by Daniel Eggert's avatar Daniel Eggert
Browse files

testing codecov cobertura

parent a5610f1e
...@@ -42,42 +42,16 @@ ...@@ -42,42 +42,16 @@
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>cobertura-maven-plugin</artifactId>
<version>0.7.9</version> <version>2.7</version>
<executions> <configuration>
<!-- Prepares the property pointing to the JaCoCo runtime agent which <formats>
is passed as VM argument when Maven the Surefire plugin is executed. --> <format>html</format>
<execution> <format>xml</format>
<id>pre-unit-test</id> </formats>
<goals> <check />
<goal>prepare-agent</goal> </configuration>
</goals>
<configuration>
<!-- Sets the path to the file which contains the execution data. -->
<destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
<!-- Sets the name of the property containing the settings for JaCoCo
runtime agent. -->
<propertyName>surefireArgLine</propertyName>
</configuration>
</execution>
<!-- Ensures that the code coverage report for unit tests is created
after unit tests have been run. -->
<execution>
<id>post-unit-test</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<!-- Sets the path to the file which contains the execution data. -->
<dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
<!-- Sets the output directory for the code coverage report. -->
<outputDirectory>${project.build.directory}/coverage-reports/jacoco-ut</outputDirectory>
</configuration>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment