Author: ilanthirayan
Date: Wed Oct 29 02:01:34 2008
New Revision: 23052
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=23052

Log:
I have intergrate clover code coverage as optional to mashup trunk.


Modified:
   branches/mashup/java/1.5/java/modules/distribution/pom.xml
   branches/mashup/java/1.5/java/modules/hostobjects/pom.xml
   branches/mashup/java/1.5/java/modules/integration/pom.xml
   branches/mashup/java/1.5/java/modules/javascriptdeployer/pom.xml
   branches/mashup/java/1.5/java/pom.xml

Modified: branches/mashup/java/1.5/java/modules/distribution/pom.xml
URL: 
http://wso2.org/svn/browse/wso2/branches/mashup/java/1.5/java/modules/distribution/pom.xml?rev=23052&r1=23051&r2=23052&view=diff
==============================================================================
--- branches/mashup/java/1.5/java/modules/distribution/pom.xml  (original)
+++ branches/mashup/java/1.5/java/modules/distribution/pom.xml  Wed Oct 29 
02:01:34 2008
@@ -1,4 +1,3 @@
-<!--
   ~ Copyright (c) 2006, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
   ~
   ~ Licensed under the Apache License, Version 2.0 (the "License");
@@ -387,6 +386,44 @@
         </plugins>
     </build>
     <profiles>
+       <profile>
+         <id>clover</id>
+          <activation>
+             <property>
+                  <name>clover</name>
+              </property>
+          </activation>
+         <build>
+           <plugins>
+              <plugin>
+                <groupId>com.atlassian.maven.plugins</groupId>
+                <artifactId>maven-clover2-plugin</artifactId>
+                <version>2.3.2</version>
+                <configuration>
+                  <licenseLocation><!--TO DO--></licenseLocation>
+                  <targetPercentage>60%</targetPercentage>
+                  <generateHtml>true</generateHtml>
+                  <generatePdf>false</generatePdf>
+                  <generateXml>false</generateXml>
+                  <excludes>
+                    <exclude>**/*TestSuite.java</exclude>
+                    <exclude>**/*Test.java</exclude>
+                  </excludes>
+                </configuration>
+                <executions>
+                  <execution>
+                    <phase>verify</phase>
+                    <goals>
+                      <goal>aggregate</goal>
+                      <goal>instrument</goal>
+                      <goal>clover</goal>
+                    </goals>
+                  </execution>
+                </executions>
+              </plugin>
+           </plugins>
+         </build>      
+       </profile>
         <profile>
             <id>build-setup-conf</id>
             <activation>

Modified: branches/mashup/java/1.5/java/modules/hostobjects/pom.xml
URL: 
http://wso2.org/svn/browse/wso2/branches/mashup/java/1.5/java/modules/hostobjects/pom.xml?rev=23052&r1=23051&r2=23052&view=diff
==============================================================================
--- branches/mashup/java/1.5/java/modules/hostobjects/pom.xml   (original)
+++ branches/mashup/java/1.5/java/modules/hostobjects/pom.xml   Wed Oct 29 
02:01:34 2008
@@ -29,6 +29,47 @@
     <version>1.5-SNAPSHOT</version>
     <name>WSO2 Mashup Server - Host Object Implementations</name>
 
+      <profiles>
+       <profile>
+         <id>clover</id>
+          <activation>
+             <property>
+                  <name>clover</name>
+              </property>
+          </activation>
+         <build>
+           <plugins>
+              <plugin>
+                <groupId>com.atlassian.maven.plugins</groupId>
+                <artifactId>maven-clover2-plugin</artifactId>
+                <version>2.3.2</version>
+                <configuration>
+                  <licenseLocation><!--TO DO--></licenseLocation>
+                  <targetPercentage>60%</targetPercentage>
+                  <generateHtml>true</generateHtml>
+                  <generatePdf>false</generatePdf>
+                  <generateXml>false</generateXml>
+                  <excludes>
+                    <exclude>**/*TestSuite.java</exclude>
+                    <exclude>**/*Test.java</exclude>
+                  </excludes>
+                </configuration>
+                <executions>
+                  <execution>
+                    <phase>verify</phase>
+                    <goals>
+                      <goal>aggregate</goal>
+                      <goal>instrument</goal>
+                      <goal>clover</goal>
+                    </goals>
+                  </execution>
+                </executions>
+              </plugin>
+           </plugins>
+         </build>      
+       </profile>
+      </profiles>
+
     <dependencies>
         <dependency>
             <groupId>org.wso2.mashup</groupId>

Modified: branches/mashup/java/1.5/java/modules/integration/pom.xml
URL: 
http://wso2.org/svn/browse/wso2/branches/mashup/java/1.5/java/modules/integration/pom.xml?rev=23052&r1=23051&r2=23052&view=diff
==============================================================================
--- branches/mashup/java/1.5/java/modules/integration/pom.xml   (original)
+++ branches/mashup/java/1.5/java/modules/integration/pom.xml   Wed Oct 29 
02:01:34 2008
@@ -28,6 +28,47 @@
     <version>1.5-SNAPSHOT</version>
     <name>WSO2 Mashup Server - Integration Tests</name>
 
+      <profiles>
+       <profile>
+         <id>clover</id>
+          <activation>
+             <property>
+                  <name>clover</name>
+              </property>
+          </activation>
+         <build>
+           <plugins>
+              <plugin>
+                <groupId>com.atlassian.maven.plugins</groupId>
+                <artifactId>maven-clover2-plugin</artifactId>
+                <version>2.3.2</version>
+                <configuration>
+                  <licenseLocation><!--TO DO--></licenseLocation>
+                  <targetPercentage>60%</targetPercentage>
+                  <generateHtml>true</generateHtml>
+                  <generatePdf>false</generatePdf>
+                  <generateXml>false</generateXml>
+                  <excludes>
+                    <exclude>**/*TestSuite.java</exclude>
+                    <exclude>**/*Test.java</exclude>
+                  </excludes>
+                </configuration>
+                <executions>
+                  <execution>
+                    <phase>verify</phase>
+                    <goals>
+                      <goal>aggregate</goal>
+                      <goal>instrument</goal>
+                      <goal>clover</goal>
+                    </goals>
+                  </execution>
+                </executions>
+              </plugin>
+           </plugins>
+         </build>      
+       </profile>
+      </profiles>
+
     <dependencies>
         <dependency>
             <groupId>org.wso2.mashup</groupId>

Modified: branches/mashup/java/1.5/java/modules/javascriptdeployer/pom.xml
URL: 
http://wso2.org/svn/browse/wso2/branches/mashup/java/1.5/java/modules/javascriptdeployer/pom.xml?rev=23052&r1=23051&r2=23052&view=diff
==============================================================================
--- branches/mashup/java/1.5/java/modules/javascriptdeployer/pom.xml    
(original)
+++ branches/mashup/java/1.5/java/modules/javascriptdeployer/pom.xml    Wed Oct 
29 02:01:34 2008
@@ -28,6 +28,48 @@
     <packaging>jar</packaging>
     <version>1.5-SNAPSHOT</version>
     <name>WSO2 Mashup Server - Java Script Service Deployer</name>
+
+      <profiles>
+       <profile>
+         <id>clover</id>
+          <activation>
+             <property>
+                  <name>clover</name>
+              </property>
+          </activation>
+         <build>
+           <plugins>
+              <plugin>
+                <groupId>com.atlassian.maven.plugins</groupId>
+                <artifactId>maven-clover2-plugin</artifactId>
+                <version>2.3.2</version>
+                <configuration>
+                  <licenseLocation><!--TO DO--></licenseLocation>
+                  <targetPercentage>60%</targetPercentage>
+                  <generateHtml>true</generateHtml>
+                  <generatePdf>false</generatePdf>
+                  <generateXml>false</generateXml>
+                  <excludes>
+                    <exclude>**/*TestSuite.java</exclude>
+                    <exclude>**/*Test.java</exclude>
+                  </excludes>
+                </configuration>
+                <executions>
+                  <execution>
+                    <phase>verify</phase>
+                    <goals>
+                      <goal>aggregate</goal>
+                      <goal>instrument</goal>
+                      <goal>clover</goal>
+                    </goals>
+                  </execution>
+                </executions>
+              </plugin>
+           </plugins>
+         </build>      
+       </profile>
+      </profiles>
+
     <dependencies>
         <dependency>
             <groupId>org.wso2.mashup</groupId>

Modified: branches/mashup/java/1.5/java/pom.xml
URL: 
http://wso2.org/svn/browse/wso2/branches/mashup/java/1.5/java/pom.xml?rev=23052&r1=23051&r2=23052&view=diff
==============================================================================
--- branches/mashup/java/1.5/java/pom.xml       (original)
+++ branches/mashup/java/1.5/java/pom.xml       Wed Oct 29 02:01:34 2008
@@ -41,7 +41,46 @@
         <system>JIRA</system>
         <url>http://wso2.org/jira/browse/MASHUP</url>
     </issueManagement>
-
+      <profiles>
+       <profile>
+         <id>clover</id>
+          <activation>
+             <property>
+                  <name>clover</name>
+              </property>
+          </activation>
+         <build>
+           <plugins>
+              <plugin>
+                <groupId>com.atlassian.maven.plugins</groupId>
+                <artifactId>maven-clover2-plugin</artifactId>
+                <version>2.3.2</version>
+                <configuration>
+                  <licenseLocation><!--TO DO--></licenseLocation>
+                  <targetPercentage>60%</targetPercentage>
+                  <generateHtml>true</generateHtml>
+                  <generatePdf>false</generatePdf>
+                  <generateXml>false</generateXml>
+                  <excludes>
+                    <exclude>**/*TestSuite.java</exclude>
+                    <exclude>**/*Test.java</exclude>
+                  </excludes>
+                </configuration>
+                <executions>
+                  <execution>
+                    <phase>verify</phase>
+                    <goals>
+                      <goal>aggregate</goal>
+                      <goal>instrument</goal>
+                      <goal>clover</goal>
+                    </goals>
+                  </execution>
+                </executions>
+              </plugin>
+           </plugins>
+         </build>      
+       </profile>
+      </profiles>
     <!-- ========== -->
     <!-- Developers -->
     <!-- ========== -->

_______________________________________________
Mashup-dev mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to