Skip to content

Commit 8c8cb65

Browse files
authored
Merge pull request #18 from anhkhoa289/claude/fix-jacoco-instrumentation-016qmugCcaQ59Epch3xXbJup
Fix JaCoCo instrumentation error in Maven tests
2 parents bfa1ffb + 8267a34 commit 8c8cb65

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pom.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,19 @@
111111
<plugin>
112112
<groupId>org.jacoco</groupId>
113113
<artifactId>jacoco-maven-plugin</artifactId>
114-
<version>0.8.11</version>
114+
<version>0.8.12</version>
115115
<executions>
116116
<execution>
117117
<goals>
118118
<goal>prepare-agent</goal>
119119
</goals>
120+
<configuration>
121+
<excludes>
122+
<!-- Exclude Mockito mock classes from instrumentation -->
123+
<exclude>**/*$MockitoMock$*</exclude>
124+
<exclude>**/*$HyL0HuSE$*</exclude>
125+
</excludes>
126+
</configuration>
120127
</execution>
121128
<execution>
122129
<id>report</id>

0 commit comments

Comments
 (0)