From: Lukas T. <luk...@us...> - 2007-05-13 19:17:40
|
lukas_theussl 07/05/13 12:17:39 Modified: cobertura/xdocs changes.xml cobertura plugin.jelly project.xml Log: Prepare another release to make it compatible with Maven 1.1. With test-plugin-1.8, the plugin would fail if there are test errors. Revision Changes Path 1.28 +5 -0 maven-plugins/cobertura/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/cobertura/xdocs/changes.xml,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- changes.xml 28 Jan 2007 14:31:15 -0000 1.27 +++ changes.xml 13 May 2007 19:17:39 -0000 1.28 @@ -22,6 +22,11 @@ <title>Changes</title> </properties> <body> + <release version="1.3.1-SNAPSHOT" date="in CVS" description="Make it Maven 1.1 compatible."> + <action dev="lukas_theussl" type="update"> + Running with test-plugin-1.8 (Maven 1.1), the plugin would fail if there are test errors. + </action> + </release> <release version="1.3" date="2007-01-28" description="AspectJ plugin, class not found bug, no test src flag."> <action dev="jeffjensen" type="fix" issue="1618999" due-to="Jon Christiansen"> Allow running against project with no test src. 1.21 +3 -0 maven-plugins/cobertura/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/cobertura/plugin.jelly,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- plugin.jelly 23 Jan 2007 03:14:30 -0000 1.20 +++ plugin.jelly 13 May 2007 19:17:39 -0000 1.21 @@ -131,9 +131,11 @@ <maven:get plugin="maven-test-plugin" property="maven.junit.fork" var="oldfork"/> <maven:get plugin="maven-test-plugin" property="maven.test.failure.ignore" var="ignoreTestFailureOld"/> + <maven:get plugin="maven-test-plugin" property="maven.test.error.ignore" var="ignoreTestErrorOld"/> <!-- Make sure that the report is generated whether the tests pass or not --> <j:set var="maven.test.failure.ignore" value="true" scope="parent" /> + <j:set var="maven.test.error.ignore" value="true" scope="parent" /> <!-- set the maven.build.dest for the test plugin to find the instrumented classes --> <j:set var="maven.build.dest" value="${maven.cobertura.instrumentation}" scope="parent" /> @@ -157,6 +159,7 @@ <j:set var="maven.junit.fork" value="${oldfork}" scope="parent" /> <j:set var="maven.build.dest" value="${oldBuildDest}" scope="parent" /> <j:set var="maven.test.failure.ignore" value="${ignoreTestFailureOld}" scope="parent" /> + <j:set var="maven.test.error.ignore" value="${ignoreTestErrorOld}" scope="parent" /> </goal> 1.33 +1 -1 maven-plugins/cobertura/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/cobertura/project.xml,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- project.xml 13 May 2007 19:09:41 -0000 1.32 +++ project.xml 13 May 2007 19:17:39 -0000 1.33 @@ -25,7 +25,7 @@ <pomVersion>3</pomVersion> <artifactId>maven-cobertura-plugin</artifactId> <name>Maven Cobertura Plug-in</name> - <currentVersion>1.3</currentVersion> + <currentVersion>1.3.1-SNAPSHOT</currentVersion> <inceptionYear>2005</inceptionYear> <shortDescription>Cobertura calculates the percentage of code accessed by tests.</shortDescription> <description>Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage. It is based on jcoverage.</description> |