Skip to content

Commit

Permalink
Added jacoco plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelspinto committed Jan 2, 2019
1 parent 0c044f8 commit da8f4ef
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<encoding>UTF-8</encoding>
<scala.version>2.12.6</scala.version>
<scala.compat.version>2.12</scala.compat.version>
<jacoco-maven-plugin.version>0.7.9</jacoco-maven-plugin.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -100,6 +101,28 @@
</execution>
</executions>
</plugin>

<!-- coverage plugin -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<id>jacoco-initialize</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit da8f4ef

Please sign in to comment.