Author: vmassol
Date: Fri Feb 11 09:40:41 2005
New Revision: 153426

URL: http://svn.apache.org/viewcvs?view=rev&rev=153426
Log:
MPCLOVER-21: Do not create a Clover report link when the project has no tests.

Modified:
    maven/maven-1/plugins/trunk/clover/plugin.jelly
    maven/maven-1/plugins/trunk/clover/xdocs/changes.xml

Modified: maven/maven-1/plugins/trunk/clover/plugin.jelly
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/plugin.jelly?view=diff&r1=153425&r2=153426
==============================================================================
--- maven/maven-1/plugins/trunk/clover/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/clover/plugin.jelly Fri Feb 11 09:40:41 2005
@@ -327,7 +327,7 @@
      ========================================================================
   -->
   <goal name="maven-clover-plugin:register">
-    <j:if test="${sourcesPresent == 'true'}">
+    <j:if test="${unitTestSourcesPresent == 'true'}">
       <doc:registerReport 
         name="Clover" 
         pluginName="maven-clover-plugin" 
@@ -343,7 +343,7 @@
      ========================================================================
   -->
   <goal name="maven-clover-plugin:deregister">
-    <j:if test="${sourcesPresent == 'true'}">
+    <j:if test="${unitTestSourcesPresent == 'true'}">
       <doc:deregisterReport name="Clover"/>
     </j:if>
   </goal>

Modified: maven/maven-1/plugins/trunk/clover/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/xdocs/changes.xml?view=diff&r1=153425&r2=153426
==============================================================================
--- maven/maven-1/plugins/trunk/clover/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/clover/xdocs/changes.xml Fri Feb 11 09:40:41 
2005
@@ -2,7 +2,7 @@
 
 <!-- 
 /*
- * 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.
@@ -26,6 +26,9 @@
   </properties>
   <body>
     <release version="1.7-SNAPSHOT" date="in SVN">
+      <action dev="vmassol" type="fix" issue="MPCLOVER-21">
+        Do not create a Clover report link when the project has no tests.
+      </action>
       <action dev="vmassol" type="update" issue="MPCLOVER-22" due-to="Maarten 
Coene">
         Open Clover report page in a new window in the same manner as it's 
         done for the Javadoc and XRef reports.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to