Skip to content

Commit 312210b

Browse files
committed
Updated POM versions. Added Jacoco but no test classes yet
1 parent eb350f0 commit 312210b

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

pom.xml

+33-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
<plugin>
204204
<groupId>org.apache.maven.plugins</groupId>
205205
<artifactId>maven-compiler-plugin</artifactId>
206-
<version>3.7.0</version>
206+
<version>3.8.1</version>
207207
<configuration>
208208
<release>${java.version}</release>
209209
</configuration>
@@ -336,6 +336,38 @@
336336
</execution>
337337
</executions>
338338
</plugin>
339+
<plugin>
340+
<groupId>org.jacoco</groupId>
341+
<artifactId>jacoco-maven-plugin</artifactId>
342+
<version>0.8.7</version>
343+
<configuration>
344+
<append>true</append>
345+
<excludes>
346+
<!-- This is required to prevent Jacoco from adding
347+
synthetic fields to a JavaBean class (causes errors in testing) -->
348+
<exclude>**/*Names*</exclude>
349+
</excludes>
350+
</configuration>
351+
<executions>
352+
<execution>
353+
<id>prepare-agent</id>
354+
<goals>
355+
<goal>prepare-agent</goal>
356+
</goals>
357+
</execution>
358+
<execution>
359+
<id>report</id>
360+
<goals>
361+
<goal>report</goal>
362+
</goals>
363+
<configuration>
364+
<formats>
365+
<format>XML</format>
366+
</formats>
367+
</configuration>
368+
</execution>
369+
</executions>
370+
</plugin>
339371
</plugins>
340372
</build>
341373

0 commit comments

Comments
 (0)