Skip to content

Commit f85b4b6

Browse files
committed
included jacoco to allow code coverage for netbeans
1 parent db90e74 commit f85b4b6

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

pom.xml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@
299299
<version>2.7</version>
300300
<configuration>
301301
<format>xml</format>
302-
<maxmem>256m</maxmem>
303302
<instrumentation>
304303
<excludes>
305304
<exclude>net/sf/jsqlparser/parser/*.class</exclude>
@@ -322,6 +321,25 @@
322321
<trimStackTrace>false</trimStackTrace>
323322
</configuration>
324323
</plugin>
324+
<plugin>
325+
<groupId>org.jacoco</groupId>
326+
<artifactId>jacoco-maven-plugin</artifactId>
327+
<version>0.8.7</version>
328+
<executions>
329+
<execution>
330+
<goals>
331+
<goal>prepare-agent</goal>
332+
</goals>
333+
</execution>
334+
<execution>
335+
<id>report</id>
336+
<phase>prepare-package</phase>
337+
<goals>
338+
<goal>report</goal>
339+
</goals>
340+
</execution>
341+
</executions>
342+
</plugin>
325343
</plugins>
326344
</build>
327345

0 commit comments

Comments
 (0)