activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r530709 - /activemq/camel/trunk/pom.xml
Date Fri, 20 Apr 2007 09:14:36 GMT
Author: jstrachan
Date: Fri Apr 20 02:14:36 2007
New Revision: 530709

URL: http://svn.apache.org/viewvc?view=rev&rev=530709
Log:
enable test coverage reporting

Modified:
    activemq/camel/trunk/pom.xml

Modified: activemq/camel/trunk/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/pom.xml?view=diff&rev=530709&r1=530708&r2=530709
==============================================================================
--- activemq/camel/trunk/pom.xml (original)
+++ activemq/camel/trunk/pom.xml Fri Apr 20 02:14:36 2007
@@ -426,6 +426,7 @@
             <target>1.5</target>
           </configuration>
         </plugin>
+
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-eclipse-plugin</artifactId>
@@ -433,20 +434,45 @@
             <outputDirectory>${basedir}/eclipse-classes</outputDirectory>
           </configuration>
         </plugin>
+
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>cobertura-maven-plugin</artifactId>
+          <version>2.0</version>
+          <configuration>
+            <check>
+              <branchRate>85</branchRate>
+              <lineRate>85</lineRate>
+              <haltOnFailure>false</haltOnFailure>
+              <totalBranchRate>85</totalBranchRate>
+              <totalLineRate>85</totalLineRate>
+              <packageLineRate>85</packageLineRate>
+              <packageBranchRate>85</packageBranchRate>
+              <regexes>
+                <regex>
+                  <pattern>org.apache.camel.impl.*</pattern>
+                  <branchRate>90</branchRate>
+                  <lineRate>80</lineRate>
+                </regex>
+                <regex>
+                  <pattern>org.apache.camel.builder.*</pattern>
+                  <branchRate>40</branchRate>
+                  <lineRate>30</lineRate>
+                </regex>
+              </regexes>
+            </check>
+          </configuration>
+        </plugin>
+
       </plugins>
     </pluginManagement>
   </build>
+
   <reporting>
     <plugins>
       <plugin>
         <artifactId>maven-javadoc-plugin</artifactId>
       </plugin>
-      <!--
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-jxr-plugin</artifactId>
-            </plugin>
-      -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-report-plugin</artifactId>
@@ -454,17 +480,22 @@
       <!--
             <plugin>
               <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-checkstyle-plugin</artifactId>
+              <artifactId>maven-jxr-plugin</artifactId>
             </plugin>
             <plugin>
               <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-pmd-plugin</artifactId>
+              <artifactId>maven-checkstyle-plugin</artifactId>
             </plugin>
             <plugin>
-              <groupId>org.codehaus.mojo</groupId>
-              <artifactId>cobertura-maven-plugin</artifactId>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-pmd-plugin</artifactId>
             </plugin>
       -->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>cobertura-maven-plugin</artifactId>
+        <version>2.0</version>
+      </plugin>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>taglist-maven-plugin</artifactId>



Mime
View raw message