Skip to content

Commit 1743608

Browse files
authored
Merge pull request #395 from brendandburns/coverage
Add coverage reporting to util pom.xml
2 parents a13defe + e4c7cc4 commit 1743608

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

util/pom.xml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23
<modelVersion>4.0.0</modelVersion>
34
<groupId>io.kubernetes</groupId>
45
<artifactId>client-java</artifactId>
@@ -104,6 +105,26 @@
104105
</dependencies>
105106
<build>
106107
<plugins>
108+
<plugin>
109+
<groupId>org.jacoco</groupId>
110+
<artifactId>jacoco-maven-plugin</artifactId>
111+
<version>0.8.2</version>
112+
<executions>
113+
<execution>
114+
<id>jacoco-initialize</id>
115+
<goals>
116+
<goal>prepare-agent</goal>
117+
</goals>
118+
</execution>
119+
<execution>
120+
<id>jacoco-report</id>
121+
<phase>test</phase>
122+
<goals>
123+
<goal>report</goal>
124+
</goals>
125+
</execution>
126+
</executions>
127+
</plugin>
107128
<plugin>
108129
<groupId>org.apache.felix</groupId>
109130
<artifactId>maven-bundle-plugin</artifactId>
@@ -121,7 +142,7 @@
121142
<groupId>org.apache.maven.plugins</groupId>
122143
<artifactId>maven-surefire-plugin</artifactId>
123144
<configuration>
124-
<argLine>-Xms512m -Xmx1500m</argLine>
145+
<argLine>@{argLine} -Xms512m -Xmx1500m</argLine>
125146
<parallel>methods</parallel>
126147
<perCoreThreadCount>false</perCoreThreadCount>
127148
<threadCount>1</threadCount>

0 commit comments

Comments
 (0)