Author: ilanthirayan Date: Wed Oct 29 03:25:42 2008 New Revision: 23066 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=23066
Log: I have intergrated clover code coverage as an optional command to the maven script. Modified: trunk/mashup/java/modules/hostobjects/pom.xml trunk/mashup/java/modules/integration/pom.xml trunk/mashup/java/modules/javascriptdeployer/pom.xml trunk/mashup/java/pom.xml Modified: trunk/mashup/java/modules/hostobjects/pom.xml URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/hostobjects/pom.xml?rev=23066&r1=23065&r2=23066&view=diff ============================================================================== --- trunk/mashup/java/modules/hostobjects/pom.xml (original) +++ trunk/mashup/java/modules/hostobjects/pom.xml Wed Oct 29 03:25:42 2008 @@ -28,7 +28,46 @@ <packaging>jar</packaging> <version>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: trunk/mashup/java/modules/integration/pom.xml URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/integration/pom.xml?rev=23066&r1=23065&r2=23066&view=diff ============================================================================== --- trunk/mashup/java/modules/integration/pom.xml (original) +++ trunk/mashup/java/modules/integration/pom.xml Wed Oct 29 03:25:42 2008 @@ -27,7 +27,46 @@ <packaging>jar</packaging> <version>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: trunk/mashup/java/modules/javascriptdeployer/pom.xml URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/javascriptdeployer/pom.xml?rev=23066&r1=23065&r2=23066&view=diff ============================================================================== --- trunk/mashup/java/modules/javascriptdeployer/pom.xml (original) +++ trunk/mashup/java/modules/javascriptdeployer/pom.xml Wed Oct 29 03:25:42 2008 @@ -28,6 +28,48 @@ <packaging>jar</packaging> <version>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: trunk/mashup/java/pom.xml URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/pom.xml?rev=23066&r1=23065&r2=23066&view=diff ============================================================================== --- trunk/mashup/java/pom.xml (original) +++ trunk/mashup/java/pom.xml Wed Oct 29 03:25:42 2008 @@ -41,6 +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
