diff options
-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> |