summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2024-02-06 01:15:41 +0200
committerGitHub <noreply@github.com>2024-02-06 01:15:41 +0200
commit6b20660c36e4ac31240cc74ea57438efb9a6a04e (patch)
tree7a84b66ca8f93de9efbfe3cbfdc5d8f9dbfadf9c
parentbdd404bf6a5f840b7b1cba18910dae5b850ce2b1 (diff)
downloadpf4j-6b20660c36e4ac31240cc74ea57438efb9a6a04e.tar.gz
pf4j-6b20660c36e4ac31240cc74ea57438efb9a6a04e.zip
Add support for coverage in sonar (#565)
-rw-r--r--pf4j/pom.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/pf4j/pom.xml b/pf4j/pom.xml
index a0d1155..c00e0e6 100644
--- a/pf4j/pom.xml
+++ b/pf4j/pom.xml
@@ -95,6 +95,31 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>0.8.11</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>
+ <formats>
+ <format>XML</format>
+ </formats>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>