diff --git a/pom.xml b/pom.xml index 88e3484f6913e1924df39629517e0367fbfcd8ff..454e08c12b85f37e49b785ea36d3e5e9e8e4a768 100644 --- a/pom.xml +++ b/pom.xml @@ -111,7 +111,6 @@ <artifactId>slf4j-simple</artifactId> <version>1.7.36</version> </dependency> - </dependencies> <build> @@ -180,12 +179,30 @@ <noManPages>true</noManPages> <stripDebug>true</stripDebug> <noHeaderFiles>true</noHeaderFiles> - <release>${maven.compiler.target}</release> </configuration> </execution> </executions> </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.8.8</version> + <executions> + <execution> + <id>prepare-agent</id> + <goals><goal>prepare-agent</goal></goals> + </execution> + <execution> + <id>report</id> + <phase>test</phase> + <goals><goal>report</goal></goals> + <configuration> + <outputDirectory>${project.build.directory}/jacoco/coverage-reports/</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> <reporting>