From 9fe862664c182b909fd2321f2d16c0745860ecac Mon Sep 17 00:00:00 2001 From: vmassol Date: Sat, 29 Nov 2003 17:15:33 +0000 Subject: [PATCH] - 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. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114426 13f79535-47bb-0310-9956-ffa450edef68 --- clover/plugin.jelly | 47 +++++++++++++++++++--------------------- clover/xdocs/changes.xml | 8 +++++++ 2 files changed, 30 insertions(+), 25 deletions(-) diff --git a/clover/plugin.jelly b/clover/plugin.jelly index 233639dc..34f2fcff 100644 --- a/clover/plugin.jelly +++ b/clover/plugin.jelly @@ -15,9 +15,6 @@ - - @@ -46,9 +43,7 @@ - + @@ -56,20 +51,6 @@ - - Setting Clover compiler - - Now using primary build.compiler : ${build.compiler} - - - - ${pom.getContext().removeVariable('build.compiler')} - - @@ -81,10 +62,6 @@ - - ${pom.getPluginContext('maven-java-plugin').setVariable('maven.build.dest',tmp)} - ${pom.getPluginContext('maven-test-plugin').setVariable('maven.build.dest',tmp)} - @@ -104,8 +81,28 @@ + + Setting Clover compiler + + 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)} + + ${pom.getContext().removeVariable('build.compiler')} @@ -140,7 +137,7 @@ No Clover database found, skipping report generation - +