Skip to content

Commit

Permalink
Merge pull request #85 from ropalka/ISSUE-84
Browse files Browse the repository at this point in the history
[ISSUE-84] Enabling code coverage
  • Loading branch information
ropalka authored Mar 11, 2024
2 parents 7aa10d3 + b048df0 commit bcf4928
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<version.jakarta.interceptor>2.1.0</version.jakarta.interceptor>
<version.jakarta.transaction>2.0.1</version.jakarta.transaction>
<version.junit>4.13.2</version.junit>
<version.org.jacoco>0.8.11</version.org.jacoco>
<version.org.jboss.bridger>1.6.Final</version.org.jboss.bridger>
<version.org.jboss.classfilewriter>1.3.1.Final</version.org.jboss.classfilewriter>
<version.org.jboss.logging>3.5.3.Final</version.org.jboss.logging>
Expand All @@ -70,7 +71,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>--add-opens=java.base/java.lang=ALL-UNNAMED</argLine>
<argLine>@{argLine} --add-opens=java.base/java.lang=ALL-UNNAMED</argLine>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -109,6 +110,25 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${version.org.jacoco}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>generate-code-coverage-report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit bcf4928

Please sign in to comment.