From: Jeff J. <jef...@us...> - 2006-05-07 21:01:20
|
jeffjensen 06/05/07 14:01:16 Modified: cobertura/xdocs changes.xml properties.xml cobertura project.xml plugin.properties plugin.jelly Added: cobertura/.settings org.eclipse.core.resources.prefs Log: Upgrade to Cobertura 1.8 and adjust dependencies and properties accordingly. Revision Changes Path 1.18 +11 -3 maven-plugins/cobertura/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/cobertura/xdocs/changes.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- changes.xml 16 Feb 2006 17:57:38 -0000 1.17 +++ changes.xml 7 May 2006 21:01:15 -0000 1.18 @@ -22,10 +22,18 @@ <title>Changes</title> </properties> <body> - <release version="1.2-SNAPSHOT" date="in CVS"> - <action dev="carlossg" type="update">Upgrade to cobertura 1.7.</action> + <release version="1.2-SNAPSHOT" date="2006-05-07" description="Update to Cobertura 1.8 and adjust properties."> + <action dev="jeffjensen" type="update">Upgrade to Cobertura 1.8.</action> + <action dev="jeffjensen" type="add">Removed dependency on JavaNCSS, as Cobertura 1.8 no longer does.</action> + <action dev="jeffjensen" type="add"> + Added maven.cobertura.check.packagelinerate and maven.cobertura.check.packagebranchrate properties. + (check report does not use them yet) + </action> <action dev="carlossg" type="add">Add maven.cobertura.ignoreregex property.</action> - <action dev="carlossg" type="add">Added maven.cobertura.check.totallinerate and maven.cobertura.check.totalbranchrate properties.</action> + <action dev="carlossg" type="add"> + Added maven.cobertura.check.totallinerate and maven.cobertura.check.totalbranchrate properties. + (check report does not use them yet) + </action> <action dev="carlossg" type="fix"> Renamed maven.cobertura.check.branch to maven.cobertura.check.branchrate and maven.cobertura.check.lineh to maven.cobertura.check.linerate. Fixes cobertura check goal always checking against 50%.</action> 1.9 +16 -0 maven-plugins/cobertura/xdocs/properties.xml Index: properties.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/cobertura/xdocs/properties.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- properties.xml 6 Oct 2005 21:29:24 -0000 1.8 +++ properties.xml 7 May 2006 21:01:16 -0000 1.9 @@ -140,6 +140,22 @@ Specify the minimum acceptable average branch coverage rate needed by the project as a whole. This should be an integer value between 0 and 100. </td> </tr> + <tr> + <td>maven.cobertura.check.packagelinerate</td> + <td>50</td> + <td>Yes</td> + <td> + Specify the minimum acceptable average line coverage rate needed by each package. This should be an integer value between 0 and 100. + </td> + </tr> + <tr> + <td>maven.cobertura.check.packagebranchrate</td> + <td>50</td> + <td>Yes</td> + <td> + Specify the minimum acceptable average branch coverage rate needed by each package. This should be an integer value between 0 and 100. + </td> + </tr> </table> </section> </section> 1.25 +20 -15 maven-plugins/cobertura/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/cobertura/project.xml,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- project.xml 16 Feb 2006 17:57:38 -0000 1.24 +++ project.xml 7 May 2006 21:01:16 -0000 1.25 @@ -17,7 +17,10 @@ * limitations under the License. */ --> -<project> +<project xmlns="http://maven.apache.org/POM/3.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd"> + <extend>${basedir}/../plugin-project.xml</extend> <pomVersion>3</pomVersion> <artifactId>maven-cobertura-plugin</artifactId> @@ -50,12 +53,21 @@ <email>ep...@op...</email> <organization>OpenSource Connections</organization> </developer> + <developer> + <name>Jeff Jensen</name> + <id>jeffjensen</id> + <email>jef...@us...</email> + <organization>Sourceforge</organization> + <roles> + <role>Developer</role> + </roles> + </developer> </developers> <dependencies> <dependency> <groupId>cobertura</groupId> <artifactId>cobertura</artifactId> - <version>1.7</version> + <version>1.8</version> <url>http://cobertura.sourceforge.net</url> </dependency> <dependency> @@ -67,7 +79,7 @@ <dependency> <groupId>asm</groupId> <artifactId>asm</artifactId> - <version>2.1</version> + <version>2.2.1</version> <url>http://asm.objectweb.org</url> </dependency> <dependency> @@ -76,18 +88,6 @@ <version>1.2.9</version> <url>http://logging.apache.org/log4j</url> </dependency> - <dependency> - <groupId>javancss</groupId> - <artifactId>ccl</artifactId> - <version>21.41</version> - <url>http://www.kclee.de/clemens/java/javancss/</url> - </dependency> - <dependency> - <groupId>javancss</groupId> - <artifactId>javancss</artifactId> - <version>21.41</version> - <url>http://www.kclee.de/clemens/java/javancss/</url> - </dependency> </dependencies> <reports> <report>maven-changelog-plugin</report> @@ -115,5 +115,10 @@ <name>1.1.1</name> <tag>MAVEN_COBERTURA_1_1_1</tag> </version> + <version> + <id>1.2-SNAPSHOT</id> + <name>1.2-SNAPSHOT</name> + <tag>MAVEN_COBERTURA_1_2</tag> + </version> </versions> </project> 1.8 +2 -0 maven-plugins/cobertura/plugin.properties Index: plugin.properties =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/cobertura/plugin.properties,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- plugin.properties 6 Oct 2005 21:26:24 -0000 1.7 +++ plugin.properties 7 May 2006 21:01:16 -0000 1.8 @@ -27,6 +27,8 @@ maven.cobertura.check.branchrate=50 maven.cobertura.check.totallinerate=50 maven.cobertura.check.totalbranchrate=50 +maven.cobertura.check.packagebranchrate=50 +maven.cobertura.check.packagelinerate=50 maven.cobertura.check.failureproperty=coberturaCheckFailureProperty maven.cobertura.check.haltonfailure=true 1.17 +2 -0 maven-plugins/cobertura/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/cobertura/plugin.jelly,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- plugin.jelly 6 Oct 2005 21:29:24 -0000 1.16 +++ plugin.jelly 7 May 2006 21:01:16 -0000 1.17 @@ -175,6 +175,8 @@ linerate="${maven.cobertura.check.linerate}" totalbranchrate="${maven.cobertura.check.totalbranchrate}" totallinerate="${maven.cobertura.check.totallinerate}" + packagebranchrate="${maven.cobertura.check.packagebranchrate}" + packagelinerate="${maven.cobertura.check.packagelinerate}" haltonfailure="${maven.cobertura.check.haltonfailure}" failureproperty="${maven.cobertura.check.failureproperty}" datafile="${maven.cobertura.datafile}"> 1.1 maven-plugins/cobertura/.settings/org.eclipse.core.resources.prefs Index: org.eclipse.core.resources.prefs =================================================================== #Sat May 06 18:45:21 CDT 2006 eclipse.preferences.version=1 encoding/plugin.jelly=UTF-8 |