Skip to content

Commit 7337ae5

Browse files
committed
Merge branch 'Test' of https://github.com/WeiXuChong/LibraryMan-API into Test
2 parents b0ce076 + 9a2e51f commit 7337ae5

1 file changed

Lines changed: 35 additions & 7 deletions

File tree

pom.xml

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,40 @@
130130
</dependencies>
131131

132132
<build>
133-
<plugins>
134-
<plugin>
135-
<groupId>org.springframework.boot</groupId>
136-
<artifactId>spring-boot-maven-plugin</artifactId>
137-
</plugin>
138-
</plugins>
139-
</build>
133+
<plugins>
134+
135+
<plugin>
136+
<groupId>org.springframework.boot</groupId>
137+
<artifactId>spring-boot-maven-plugin</artifactId>
138+
</plugin>
139+
140+
141+
<plugin>
142+
<groupId>org.jacoco</groupId>
143+
<artifactId>jacoco-maven-plugin</artifactId>
144+
<version>0.8.11</version>
145+
<executions>
146+
147+
<!-- Attach JaCoCo agent -->
148+
<execution>
149+
<goals>
150+
<goal>prepare-agent</goal>
151+
</goals>
152+
</execution>
153+
154+
<!-- Generate report -->
155+
<execution>
156+
<id>report</id>
157+
<phase>test</phase>
158+
<goals>
159+
<goal>report</goal>
160+
</goals>
161+
</execution>
162+
163+
</executions>
164+
</plugin>
165+
166+
</plugins>
167+
</build>
140168

141169
</project>

0 commit comments

Comments
 (0)