diff options
author | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-05-10 11:24:03 +0200 |
---|---|---|
committer | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-05-10 11:24:03 +0200 |
commit | 3e50af52334df4f33b4af70e10f61ee36dbc546b (patch) | |
tree | fba226b24c33ff3afa81282f80ee22eb34f11153 | |
parent | dfbb2fb7e55eb99b777cc4d5f5fc5e2aca8f76c6 (diff) | |
download | moa-zs-3e50af52334df4f33b4af70e10f61ee36dbc546b.tar.gz moa-zs-3e50af52334df4f33b4af70e10f61ee36dbc546b.tar.bz2 moa-zs-3e50af52334df4f33b4af70e10f61ee36dbc546b.zip |
Setup Code Coverage Reports Via jacoco
-rw-r--r-- | pom.xml | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -27,6 +27,7 @@ <jedisclient.version>2.9.3</jedisclient.version> <guava.version>27.1-jre</guava.version> <immutable-xjc-plugin.version>1.5</immutable-xjc-plugin.version> + <jacoco.version>0.8.3</jacoco.version> <mzs.ns>http://reference.e-government.gv.at/namespace/zustellung/mzs/app2mzs#</mzs.ns> <mzs.p.ns>http://reference.e-government.gv.at/namespace/zustellung/mzs/persondata#</mzs.p.ns> <mzs.wsdl.ns>http://reference.e-government.gv.at/namespace/zustellung/mzs/app2mzs.wsdl</mzs.wsdl.ns> @@ -159,6 +160,37 @@ </execution> </executions> </plugin> + <!-- code coverage --> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>${jacoco.version}</version> + <configuration> + <destFile>${basedir}/target/coverage-reports/jacoco-unit.exec</destFile> + <dataFile>${basedir}/target/coverage-reports/jacoco-unit.exec</dataFile> + </configuration> + <executions> + <execution> + <id>default-prepare-agent</id> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>default-report</id> + <phase>prepare-package</phase> + <goals> + <goal>report</goal> + </goals> + </execution> + <execution> + <id>default-check</id> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> </project> |