Skip to content

Commit

Permalink
Added profile with coverage report.
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Kraus <tomas.kraus@oracle.com>
  • Loading branch information
Tomas-Kraus authored and lukasj committed Aug 18, 2021
1 parent 924e9ea commit d4d3669
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -442,4 +442,41 @@ Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">

</build>

<profiles>
<profile>
<id>coverage</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>default-report</id>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit d4d3669

Please sign in to comment.