diff --git a/clover/plugin.jelly b/clover/plugin.jelly index 5e9ae995..e0cf1819 100644 --- a/clover/plugin.jelly +++ b/clover/plugin.jelly @@ -2,7 +2,7 @@ + + + Usage of the maven.clover.database.dir property is deprecated. Use the maven.clover.database property instead. + + + + + + @@ -61,8 +70,8 @@ - + @@ -126,7 +135,7 @@ ${compileSrcSetString} @@ -160,7 +169,7 @@ Clovered classes by mistake. --> - + - + ${context.removeVariable('build.compiler')} @@ -240,7 +249,7 @@ description="Generates the Clover reports"> - + diff --git a/clover/plugin.properties b/clover/plugin.properties index 9de518c6..8e44bd13 100644 --- a/clover/plugin.properties +++ b/clover/plugin.properties @@ -1,5 +1,5 @@ # ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. +# Copyright 2001-2005 The Apache Software Foundation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -24,9 +24,9 @@ maven.clover.build = ${maven.build.dir}/clover # Location where clovered classes will be generated maven.clover.build.classes = ${maven.clover.build}/classes -# Location of the Clover database (i.e directory where coverage data +# Location of the Clover database (i.e file into which coverage data # will be generated). -maven.clover.database.dir = ${maven.clover.build}/database +maven.clover.database = ${maven.clover.build}/database/clover_coverage.db # Default ordering for the generated Clover reports. maven.clover.orderBy = PcCoveredAsc @@ -44,7 +44,7 @@ maven.clover.instrument.tests = false # open source projects. Set it to an empty value if you wish to use Clover's # other license loading mechanisms (Clover looks next to clover.jar on the # filesystem and in the classpath). -maven.clover.license.path = ${plugin.getDependencyPath('clover:clover-30day-eval')} +maven.clover.license.path = ${plugin.getDependencyPath('clover:clover-license')} # What are the reports that should be generated maven.clover.report.html=true diff --git a/clover/project.xml b/clover/project.xml index 0b8a3a22..23a3a4af 100644 --- a/clover/project.xml +++ b/clover/project.xml @@ -1,7 +1,8 @@ - + ../plugin-parent/project.xml 3 @@ -60,8 +62,8 @@ Vincent Massol vmassol - vmassol@pivolis.com - Pivolis + vmassol@apache.org + Apache Software Foundation Creator Java Developer @@ -107,16 +109,19 @@ clover - clover-ant - 1.3_01 + clover + 1.3.4 root + clover - clover-30day-eval - 1.0 + clover-license + 20060130 license diff --git a/clover/xdocs/changes.xml b/clover/xdocs/changes.xml index 4f12e7ad..47d49085 100644 --- a/clover/xdocs/changes.xml +++ b/clover/xdocs/changes.xml @@ -25,7 +25,23 @@ Emmanuel Venisse - + + + Deprecated maven.clover.database.dir property and + replaced it with a maven.cover.database property that + contains not only the database directory but also the name of the + database file. + + + clover:off should now reset correctly the + maven.build.dest property that clover:on + modifies. Note that the reported error has been fixed even though I + have not been able to reproduce the problem (and hence we don't have + a test for it). + + + Upgraded Clover to version 1.3.4. + @@ -44,8 +60,8 @@ clover:test-single. - Added new clover:test-single goal to execute a single test - case and to view the test coverage result directly using the Clover + Added new clover:test-single goal to execute a single test + case and to view the test coverage result directly using the Clover Swing viewer. This is useful if you wish to quickly see the action that a single unit test has on the code it tests. @@ -53,16 +69,16 @@ Now using maven:get and maven:set. - The clover:report goal does not call the tests anymore. + The clover:report goal does not call the tests anymore. It only generates Clover reports. - When executing clover:on and clover:off, modify + When executing clover:on and clover:off, modify the maven.build.dest property value in the Root context of all plugins so that the value change is available in all Maven plugins. - Prevented the clover:on goal from failing when there are + Prevented the clover:on goal from failing when there are no unit tests sources available. @@ -112,5 +128,5 @@ These changes did not exist at that time. Please refer to CVS for history changes before version 1.1. - + body>body> diff --git a/clover/xdocs/properties.xml b/clover/xdocs/properties.xml index 04bb4cff..20411ba3 100644 --- a/clover/xdocs/properties.xml +++ b/clover/xdocs/properties.xml @@ -2,7 +2,7 @@