diff --git a/pom.xml b/pom.xml index a35f43c5178bba8d8148b680251e9808c01c8150..feeca04bcf0d2e79d6426cfcf39d6c599e709f9b 100644 --- a/pom.xml +++ b/pom.xml @@ -155,16 +155,6 @@ <scope>test</scope> </dependency> - - <dependency> - <groupId>org.jacoco</groupId> - <artifactId>org.jacoco.agent</artifactId> - <version>0.8.11</version> - <scope>test</scope> - </dependency> - - - </dependencies> <build> @@ -212,6 +202,25 @@ <artifactId>maven-jar-plugin</artifactId> <version>3.2.0</version> </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.8.12</version> + <executions> + <execution> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>report</id> + <phase>test</phase> + <goals> + <goal>report</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build>