commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r1462857 - in /commons/sandbox/classscan/trunk: parent/pom.xml src/assembly/
Date Sat, 30 Mar 2013 22:41:12 GMT
Author: chas
Date: Sat Mar 30 22:41:11 2013
New Revision: 1462857

URL: http://svn.apache.org/r1462857
Log:
replace cobertura with jacoco

Added:
    commons/sandbox/classscan/trunk/src/assembly/
Modified:
    commons/sandbox/classscan/trunk/parent/pom.xml

Modified: commons/sandbox/classscan/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/classscan/trunk/parent/pom.xml?rev=1462857&r1=1462856&r2=1462857&view=diff
==============================================================================
--- commons/sandbox/classscan/trunk/parent/pom.xml (original)
+++ commons/sandbox/classscan/trunk/parent/pom.xml Sat Mar 30 22:41:11 2013
@@ -60,18 +60,54 @@
 
 
   <build>
-  
+
     <plugins>
 
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <argLine>-Xmx512m</argLine>
+          <argLine>-Xmx512m ${jacocoArgLine}</argLine>
+        </configuration>
+      </plugin>
+      
+      <!-- turn off cobertura -->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>cobertura-maven-plugin</artifactId>
+        <configuration>
+          <skip>true</skip>
         </configuration>
       </plugin>
 
-    </plugins>  
+      <!-- jacoco for code coverage -->
+      <plugin>
+        <groupId>org.jacoco</groupId>
+        <artifactId>jacoco-maven-plugin</artifactId>
+        <version>0.6.2.201302030002</version>
+        <configuration>
+          <propertyName>jacocoArgLine</propertyName>
+          <includes>
+            <include>org/apache/commons/classscan/**</include>
+          </includes>
+        </configuration>
+        <executions>
+          <execution>
+            <id>prepare-agent</id>
+            <goals>
+              <goal>prepare-agent</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>report</id>
+            <goals>
+              <goal>report</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      
+    </plugins>
   
   </build>
   
@@ -137,6 +173,19 @@
           </reportSet>
         </reportSets>
       </plugin>
+      
+      <!-- turn off cobertura -->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>cobertura-maven-plugin</artifactId>
+        <inherited>false</inherited>
+      </plugin>
+      
+      <!-- jacoco for code coverage -->
+      <plugin>
+        <groupId>org.jacoco</groupId>
+        <artifactId>jacoco-maven-plugin</artifactId>
+      </plugin>
 
     </plugins>
 



Mime
View raw message