Skip to content

Commit

Permalink
Add code coverage plugins (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
falko committed May 25, 2021
1 parent 1b6cfda commit 8bca3af
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 0 deletions.
24 changes: 24 additions & 0 deletions abstract-delegate-execution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,30 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<!-- Profiles just here to ease testing in IDEs (Ctrl+Alt+P in Eclipse)-->
<profile>
Expand Down
19 changes: 19 additions & 0 deletions asynchronous-service-task/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,25 @@
<artifactId>wildfly-maven-plugin</artifactId>
<version>2.0.2.Final</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
24 changes: 24 additions & 0 deletions engine-plugin-on-demand-call-activity/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,30 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report-aggregate</id>
<phase>verify</phase>
<goals>
<goal>report-aggregate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<repositories>
<repository>
<id>camunda-bpm-nexus</id>
Expand Down
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
<module>abstract-delegate-execution</module>
</modules>

<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
</plugin>
</plugins>
</build>

<distributionManagement>
<snapshotRepository>
<id>github</id>
Expand Down

0 comments on commit 8bca3af

Please sign in to comment.