You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by sm...@apache.org on 2016/08/12 17:10:17 UTC

mahout git commit: added maven code coverage plugin, this closes apache/mahout#250

Repository: mahout
Updated Branches:
  refs/heads/master 4d0cd66a6 -> 476972d2e


added maven code coverage plugin, this closes apache/mahout#250


Project: http://git-wip-us.apache.org/repos/asf/mahout/repo
Commit: http://git-wip-us.apache.org/repos/asf/mahout/commit/476972d2
Tree: http://git-wip-us.apache.org/repos/asf/mahout/tree/476972d2
Diff: http://git-wip-us.apache.org/repos/asf/mahout/diff/476972d2

Branch: refs/heads/master
Commit: 476972d2e3c4b297ac66e711c121ce80fc621d50
Parents: 4d0cd66
Author: smarthi <sm...@apache.org>
Authored: Fri Aug 12 13:10:01 2016 -0400
Committer: smarthi <sm...@apache.org>
Committed: Fri Aug 12 13:10:01 2016 -0400

----------------------------------------------------------------------
 pom.xml | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mahout/blob/476972d2/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 165e42e..4d3b6e6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -648,6 +648,39 @@
           <artifactId>versions-maven-plugin</artifactId>
           <version>2.2</version>
         </plugin>
+
+        <!-- Coverage analysis for tests -->
+        <plugin>
+          <groupId>org.jacoco</groupId>
+          <artifactId>jacoco-maven-plugin</artifactId>
+          <version>0.7.5.201505241946</version>
+          <executions>
+            <execution>
+              <goals>
+                <goal>prepare-agent</goal>
+              </goals>
+              <configuration>
+                <output>file</output>
+                <dumpOnExit>true</dumpOnExit>
+              </configuration>
+            </execution>
+            <execution>
+              <id>report</id>
+              <phase>prepare-package</phase>
+              <goals>
+                <goal>report</goal>
+              </goals>
+            </execution>
+          </executions>
+        </plugin>
+
+        <!-- Report jacoco coverage to coveralls.io -->
+        <plugin>
+          <groupId>org.eluder.coveralls</groupId>
+          <artifactId>coveralls-maven-plugin</artifactId>
+          <version>4.1.0</version>
+        </plugin>
+
       </plugins>
     </pluginManagement>
     <plugins>