diff --git a/clover/plugin.jelly b/clover/plugin.jelly index 596f5e4d..78985ca1 100644 --- a/clover/plugin.jelly +++ b/clover/plugin.jelly @@ -1,4 +1,5 @@ + - - - - - - - - - - - - - - - - - + + - - - - - + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - + + - - + - + - - - - + - - - + + + + + + Setting Clover compiler @@ -143,15 +148,23 @@ Now using primary build.compiler : ${build.compiler} - + ${pom.getPluginContext('maven-java-plugin').setVariable('maven.build.dest',tmp)} ${pom.getPluginContext('maven-test-plugin').setVariable('maven.build.dest',tmp)} - - + + + + + ${pom.getPluginContext('maven-test-plugin').setVariable('maven.build.dest',mavenBuildDestTestOld)} ${pom.getPluginContext('maven-java-plugin').setVariable('maven.build.dest',mavenBuildDestJavaOld)} @@ -163,6 +176,20 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/clover/plugin.properties b/clover/plugin.properties index 6b8ef59a..a1fd022e 100644 --- a/clover/plugin.properties +++ b/clover/plugin.properties @@ -17,14 +17,19 @@ # ------------------------------------------------------------------- # Default Maven properties for the Clover Plugin # ------------------------------------------------------------------- -# These are the properties that we believe are immutable so we -# keep them apart from the project specific properties. -# ------------------------------------------------------------------- -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 +# Location of build files generated by the Clover plugin +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 +# will be generated). +maven.clover.database.dir = ${maven.clover.build}/database + +# Default ordering for the generated Clover reports. +maven.clover.orderBy = PcCoveredAsc # Whether tests should be instrumented by Clover or not maven.clover.instrument.tests = false diff --git a/clover/project.properties b/clover/project.properties index da5c0fff..208209ba 100644 --- a/clover/project.properties +++ b/clover/project.properties @@ -18,6 +18,6 @@ # P R O J E C T P R O P E R T I E S # ------------------------------------------------------------------- maven.xdoc.date=left -## maven.xdoc.version=${pom.currentVersion} +maven.xdoc.version=${pom.currentVersion} maven.license.licenseFile=${basedir}/../LICENSE.txt diff --git a/clover/project.xml b/clover/project.xml index eaa67451..8e804db3 100644 --- a/clover/project.xml +++ b/clover/project.xml @@ -1,4 +1,5 @@ + - ../project.xml 3 maven-clover-plugin - Maven Clover Plug-in + Maven Clover plugin 1.5-SNAPSHOT Produce Clover reports diff --git a/clover/src/plugin-test/project.xml b/clover/src/plugin-test/project.xml index ca17c18c..a25084ed 100644 --- a/clover/src/plugin-test/project.xml +++ b/clover/src/plugin-test/project.xml @@ -1,4 +1,5 @@ + - 3 test-maven-clover-plugin @@ -44,7 +44,7 @@ src/test - **/Test*.java + **/*Test.java diff --git a/clover/xdocs/changes.xml b/clover/xdocs/changes.xml index 67da022f..743e1c63 100644 --- a/clover/xdocs/changes.xml +++ b/clover/xdocs/changes.xml @@ -18,6 +18,7 @@ --> + Changes Vincent Massol @@ -26,31 +27,35 @@ - + + + Tests executed after <clover:on are now always + forked. + - - + + Allows the user to override the Clover jar. This is especially useful as the Clover jars are license-signed for a specific project so you might want to use different jars for different projects. - - + + Conditionally instrument test classes too. To instrument test classes set the maven.clover.instrument.tests to true. - - - Make sure that the clover plugin restore other plugin's - properties it has modified. - - - Removed public clover:on goal as it should not have - been public. - - + + + Make sure that the clover plugin restore other plugin's + properties it has modified. + + + Removed public clover:on goal as it should not have + been public. + + - + Added unit tests for the plugin and reworked the documentation. @@ -68,13 +73,13 @@ - - - Allows a new property to be used to specify the sort order of the HTML - clover report. - + + + Allows a new property to be used to specify the sort order of the HTML + clover report. + - update to use maven.docs.*/maven.gen.docs + Update to use maven.docs.*/maven.gen.docs I register reports only if source, test,... exists. @@ -82,7 +87,7 @@ registered. - Upgrade to Clover 1.2 + Upgrade to Clover 1.2 Make sure that test failures or errors do not stop the generation @@ -106,9 +111,10 @@ - This changes did not exist at that time. Please refer to CVS for + These changes did not exist at that time. Please refer to CVS for history changes before version 1.1. + diff --git a/clover/xdocs/goals.xml b/clover/xdocs/goals.xml index e0e327c7..44bf89be 100644 --- a/clover/xdocs/goals.xml +++ b/clover/xdocs/goals.xml @@ -1,5 +1,6 @@ - - Maven Clover plugin goals diff --git a/clover/xdocs/index.xml b/clover/xdocs/index.xml index 708efc40..e0b3ade8 100644 --- a/clover/xdocs/index.xml +++ b/clover/xdocs/index.xml @@ -1,4 +1,5 @@ +