Skip to content

Commit 2a13ee7

Browse files
authored
chore: add coverage profile (#4)
2 parents 2f2b1dc + 2dd6261 commit 2a13ee7

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

pom.xml

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
34
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
45
<modelVersion>4.0.0</modelVersion>
56
<groupId>br.com.grupo63.techchallenge</groupId>
@@ -69,4 +70,37 @@
6970
<version>2.1.0</version>
7071
</dependency>
7172
</dependencies>
72-
</project>
73+
<profiles>
74+
<profile>
75+
<id>coverage</id>
76+
<build>
77+
<plugins>
78+
<plugin>
79+
<groupId>org.jacoco</groupId>
80+
<artifactId>jacoco-maven-plugin</artifactId>
81+
<version>0.8.11</version>
82+
<executions>
83+
<execution>
84+
<id>prepare-agent</id>
85+
<goals>
86+
<goal>prepare-agent</goal>
87+
</goals>
88+
</execution>
89+
<execution>
90+
<id>report</id>
91+
<goals>
92+
<goal>report</goal>
93+
</goals>
94+
<configuration>
95+
<formats>
96+
<format>XML</format>
97+
</formats>
98+
</configuration>
99+
</execution>
100+
</executions>
101+
</plugin>
102+
</plugins>
103+
</build>
104+
</profile>
105+
</profiles>
106+
</project>

0 commit comments

Comments
 (0)