diff --git a/clover/plugin.jelly b/clover/plugin.jelly index 05544d73..5ca56132 100644 --- a/clover/plugin.jelly +++ b/clover/plugin.jelly @@ -85,12 +85,11 @@ - - + ${pom.getPluginContext('maven-java-plugin').setVariable('maven.build.dest',tmp)} - ${pom.getPluginContext('maven-test-plugin').setVariable('maven.build.dest',tmp)} + @@ -98,14 +97,16 @@ + description="Generate test coverage reports with Clover" + prereqs="clover:report"/> - + + - + @@ -113,13 +114,51 @@ + + + + + + + + + + + + + + + + + + + + + + + - - - + name="clover:xml-report" + description="Generate XML test coverage reports with Clover" + prereqs="clover:test,clover:xml-report-internal"/> + + + + - - + + - @@ -144,7 +187,10 @@ - + diff --git a/clover/plugin.properties b/clover/plugin.properties index a365803c..690a3e3b 100644 --- a/clover/plugin.properties +++ b/clover/plugin.properties @@ -8,4 +8,9 @@ maven.build.clover = ${maven.build.dir}/clover maven.build.clover.classes = ${maven.build.clover}/classes maven.clover.database.dir = ${maven.build.clover}/database -maven.clover.orderBy=PcCoveredAsc \ No newline at end of file +maven.clover.orderBy=PcCoveredAsc + +# What are the reports that should be generated +maven.clover.report.html=true +maven.clover.report.xml=false +maven.clover.report.swing=false diff --git a/clover/project.xml b/clover/project.xml index 6e1a8156..9c0b5931 100644 --- a/clover/project.xml +++ b/clover/project.xml @@ -5,7 +5,7 @@ 3 maven-clover-plugin Maven Clover Plug-in - 1.2 + 1.3-SNAPSHOT Produce Clover reports http://maven.apache.org/reference/plugins/clover/ @@ -20,6 +20,11 @@ 1.2 NEVER RELEASED + + 1.3 + 1.3 + HEAD + diff --git a/clover/xdocs/changes.xml b/clover/xdocs/changes.xml index 6c87218e..e0c19dce 100644 --- a/clover/xdocs/changes.xml +++ b/clover/xdocs/changes.xml @@ -7,7 +7,16 @@ - + + + + Added optional properties to decide what reports to generate. Added + a clover:report goal which generates all the defined + reports. The default is to generate only the HTML report. + + + + Apply MAVEN-819. Allows a new property to be used to specify the sort order of the HTML clover report. @@ -22,16 +31,13 @@ Upgrade to Clover 1.2 - - - Make sure that test failures or errors do not stop the generation of the Clover reports. - + The Clover plugin now depends on version 1.0 of the Clover jar. @@ -44,6 +50,7 @@ Creation of this changes page. + This changes did not exist at that time. Please refer to CVS for