Commits

Dmytro Kovalchuk committed 9d94367 Draft

Added Jacoco plugin to control code coverage

Comments (0)

Files changed (1)

                 </configuration>
             </plugin>
             <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>cobertura-maven-plugin</artifactId>
-                <version>2.5.1</version>
-            </plugin>            
+                <groupId>org.jacoco</groupId>
+                <artifactId>jacoco-maven-plugin</artifactId>
+                <version>0.5.7.201204190339</version>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>prepare-agent</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>report</id>
+                        <phase>prepare-package</phase>
+                        <goals>
+                            <goal>report</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
     
     <modules>
         <module>cross-stitch-api</module>
         <module>cross-stitch-fileservice-impl</module>
-    <module>cross-stitch-app</module>
-    <module>palettes-impl</module>
-    <module>base-palettes</module>
-    <module>swing-api</module>
-    <module>swing-api-impl</module>
-    <module>viewer</module>
-  </modules>
+        <module>cross-stitch-app</module>
+        <module>palettes-impl</module>
+        <module>base-palettes</module>
+        <module>swing-api</module>
+        <module>swing-api-impl</module>
+        <module>viewer</module>
+    </modules>
 </project>