(Using Maven 1.0.2)

I've found that in my test reports I have the error:

------------- Standard Error -----------------
[CLOVER] WARNING: The Clover version used in instrumentation does not match the runtime version. You need to run instrumented classes against the same version of Clover that you instrumented with.
[CLOVER] WARNING: Instr=1.3.6,Runtime=1.3.1_01
ERROR: CLOVER: Unable to load coverage database.
ERROR: CLOVER: No coverage data will be gathered.
ERROR: CLOVER: java.io.IOException
ERROR: CLOVER: Error reading Clover database header [E1101]. Consider deleting the database to force Clover to create a fresh database. Bad database format verison. Expecting '1.3' but got '1.3.3'.
------------- ---------------- ---------------

So I guess this is the problem. How can I make it so the same version of Clover is used to run the instrumented classes and instrument etc.? Seems as if there's no property to do this etc.

Mike

<br><br><br>&gt;From: Wim Deblauwe &lt;[EMAIL PROTECTED]&gt;<br>&gt;Reply-To: Wim Deblauwe &lt;[EMAIL PROTECTED]&gt;<br>&gt;To: Maven Users List &lt;[email protected]&gt;<br>&gt;Subject: Re: [M1] Clover Coverage 0%??<br>&gt;Date: Fri, 22 Jul 2005 08:12:56 +0200<br>&gt;<br>&gt;You need to compile your classes with clover instrumentation. Have you tried<br>&gt;maven clover:on site?<br>&gt;<br>&gt;regards,<br>&gt;<br>&gt;Wim<br>&gt;<br>&gt;2005/7/21, Michael Owen &lt;[EMAIL PROTECTED]&gt;:<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Correction. I'm using maven-clover-plugin.<br>&gt; &gt;<br>&gt; &gt; &lt;br&gt;&lt;br&gt;&lt;br&gt;&gt;From: &quot;Michael Owen&quot;<br>&gt; &gt; &lt;[EMAIL PROTECTED]&gt;&lt;br&gt;&gt;Reply-To: &quot;Maven Users<br>&gt; &gt; List&quot; &lt;[email protected]&gt;&lt;br&gt;&gt;To:<br>&gt; &gt; [email protected]&lt;br&gt;&gt;Subject: [M1] Clover Coverage<br>&gt; &gt; 0%??&lt;br&gt;&gt;Date: Thu, 21 Jul 2005 17:12:32<br>&gt; &gt; +0100&lt;br&gt;&gt;&lt;br&gt;&gt;Hi,&lt;br&gt;&gt;&lt;br&gt;&gt;I'm using the maven-plugin-report<br>&gt; &gt; 1.9 for Maven 1.0.2. When I do &lt;br&gt;&gt;&quot;maven site&quot; all seems<br>&gt; &gt; well, but I get 0% coverage of the code, &lt;br&gt;&gt;which isn't correct. Just<br>&gt; &gt; wondering whether people know of any &lt;br&gt;&gt;reasons why? e.g. certain<br>&gt; &gt; properties need to be set&lt;br&gt;&gt;&lt;br&gt;&gt;Many<br>&gt; &gt;<br>&gt; &gt; thanks,&lt;br&gt;&gt;&lt;br&gt;&gt;Mike&lt;br&gt;&gt;&lt;br&gt;&gt;&lt;br&gt;&gt;&lt;br&gt;&gt;---------------------------------------------------------------------&lt;br&gt;&gt;To<br>&gt; &gt; unsubscribe, e-mail: [EMAIL PROTECTED]&lt;br&gt;&gt;For<br>&gt; &gt; additional commands, e-mail: [EMAIL PROTECTED]&lt;br&gt;&gt;&lt;br&gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ---------------------------------------------------------------------<br>&gt; &gt; To unsubscribe, e-mail: [EMAIL PROTECTED]<br>&gt; &gt; For additional commands, e-mail: [EMAIL PROTECTED]<br>&gt; &gt;<br>&gt; &gt;<br>



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

Reply via email to