Add JaCoCo coverage plugin.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 29 Apr 2014 19:41:03 +0000 (21:41 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 29 Apr 2014 19:41:03 +0000 (21:41 +0200)
pom.xml

diff --git a/pom.xml b/pom.xml
index 4d80c6b..352d57f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                        <mainClass>net.pterodactylus.xdcc.main.Main</mainClass>
                                </configuration>
                        </plugin>
+                       <plugin>
+                               <groupId>org.jacoco</groupId>
+                               <artifactId>jacoco-maven-plugin</artifactId>
+                               <version>0.7.0.201403182114</version>
+                               <executions>
+                                       <execution>
+                                               <id>default-prepare-agent</id>
+                                               <goals>
+                                                       <goal>prepare-agent</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
                </plugins>
        </build>