Skip to content

Commit 14f0ce9

Browse files
Add jacoco
1 parent 49fda18 commit 14f0ce9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ limitations under the License.
3737
<google.java.format.version>1.17.0</google.java.format.version>
3838
<gpg.plugin.version>3.2.1</gpg.plugin.version>
3939
<flatten.plugin.version>1.6.0</flatten.plugin.version>
40+
<jacoco.plugin.version>0.8.12</jacoco.plugin.version>
4041
<sonar.projectKey>diffblue_diffblue-sonar-plugin</sonar.projectKey>
4142
<sonar.organization>diffblue</sonar.organization>
4243
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
@@ -89,6 +90,26 @@ limitations under the License.
8990
</plugins>
9091
</pluginManagement>
9192
<plugins>
93+
<plugin>
94+
<groupId>org.jacoco</groupId>
95+
<artifactId>jacoco-maven-plugin</artifactId>
96+
<version>${jacoco.plugin.version}</version>
97+
<executions>
98+
<execution>
99+
<id>prepare-agent</id>
100+
<goals>
101+
<goal>prepare-agent</goal>
102+
</goals>
103+
</execution>
104+
<execution>
105+
<id>report</id>
106+
<goals>
107+
<goal>report</goal>
108+
</goals>
109+
<phase>test</phase>
110+
</execution>
111+
</executions>
112+
</plugin>
92113
<plugin>
93114
<groupId>org.codehaus.mojo</groupId>
94115
<artifactId>flatten-maven-plugin</artifactId>

0 commit comments

Comments
 (0)