Skip to content

Commit 29449c2

Browse files
author
jetsaii
committed
Add jacoco to pom
1 parent f5f0d9f commit 29449c2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<properties>
1717
<java.version>1.8</java.version>
1818
</properties>
19+
1920
<dependencies>
2021
<dependency>
2122
<groupId>org.springframework.boot</groupId>
@@ -39,6 +40,24 @@
3940

4041
<build>
4142
<plugins>
43+
<plugin>
44+
<groupId>org.jacoco</groupId>
45+
<artifactId>jacoco-maven-plugin</artifactId>
46+
<executions>
47+
<execution>
48+
<goals>
49+
<goal>prepare-agent</goal>
50+
</goals>
51+
</execution>
52+
<execution>
53+
<id>report</id>
54+
<phase>test</phase>
55+
<goals>
56+
<goal>report</goal>
57+
</goals>
58+
</execution>
59+
</executions>
60+
</plugin>
4261
<plugin>
4362
<groupId>org.springframework.boot</groupId>
4463
<artifactId>spring-boot-maven-plugin</artifactId>

0 commit comments

Comments
 (0)