You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2015/04/22 03:18:08 UTC

svn commit: r1675239 - /ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml

Author: doogie
Date: Wed Apr 22 01:18:08 2015
New Revision: 1675239

URL: http://svn.apache.org/r1675239
Log:
Add cobertura instrumentation support; "mvn cobertura:cobertura" will
run the tests for each component, then produce output in
build/site/cobertura.  This allows us to get rid of the local
CoberturaInstrumenter framework.

Modified:
    ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml

Modified: ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml?rev=1675239&r1=1675238&r2=1675239&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml Wed Apr 22 01:18:08 2015
@@ -110,6 +110,11 @@ under the License.
           <artifactId>maven-clean-plugin</artifactId>
           <version>2.3</version>
         </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>cobertura-maven-plugin</artifactId>
+          <version>2.7</version>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
@@ -305,6 +310,21 @@ under the License.
         </configuration>
       </plugin>
       <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>cobertura-maven-plugin</artifactId>
+        <configuration>
+          <formats>
+            <format>html</format>
+            <format>xml</format>
+          </formats>
+          <instrumentation>
+            <includes>
+              <include>org/ofbiz/**/*.class</include>
+            </includes>
+          </instrumentation>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.commonjava.maven.plugins</groupId>
         <artifactId>directory-maven-plugin</artifactId>
         <configuration>