Skip to content

Commit 9e13c38

Browse files
committed
Add jacoco config and update surefire plugin
1 parent bbdc93d commit 9e13c38

1 file changed

Lines changed: 21 additions & 2 deletions

File tree

msal4j-sdk/pom.xml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,9 @@
239239
<plugin>
240240
<groupId>org.apache.maven.plugins</groupId>
241241
<artifactId>maven-surefire-plugin</artifactId>
242-
<version>2.10</version>
242+
<version>3.5.2</version>
243243
<configuration>
244-
<argLine>-noverify</argLine>
244+
<argLine>@{argLine} -noverify</argLine>
245245
</configuration>
246246
</plugin>
247247

@@ -332,6 +332,25 @@
332332
</execution>
333333
</executions>
334334
</plugin>
335+
<plugin>
336+
<groupId>org.jacoco</groupId>
337+
<artifactId>jacoco-maven-plugin</artifactId>
338+
<version>0.8.12</version>
339+
<executions>
340+
<execution>
341+
<goals>
342+
<goal>prepare-agent</goal>
343+
</goals>
344+
</execution>
345+
<execution>
346+
<id>jacoco-site</id>
347+
<phase>test</phase>
348+
<goals>
349+
<goal>report</goal>
350+
</goals>
351+
</execution>
352+
</executions>
353+
</plugin>
335354
</plugins>
336355
</build>
337356
</project>

0 commit comments

Comments
 (0)