To answer my own question for problem 1. I'm setting:

plugin.resources=${maven.home}/licenses

then clover will look at plugin.resources/licenses.

maven.home will be set by an environment variable by Maven.


<br><br><br>&gt;From: &quot;Michael Owen&quot; &lt;[EMAIL PROTECTED]&gt;<br>&gt;Reply-To: &quot;Maven Users List&quot; &lt;[email protected]&gt;<br>&gt;To: [email protected]<br>&gt;Subject: [M1] Clover license problem + cxclude certain files from clover<br>&gt;Date: Thu, 28 Jul 2005 12:07:29 +0100<br>&gt;<br>&gt;(Using Maven 1.0.2)<br>&gt;<br>&gt;Hi,<br>&gt;<br>&gt;Problem1:<br>&gt;<br>&gt;I need to define where the license is using:<br>&gt;<br>&gt;maven.clover.license.path=C://clover/licenses/clover.license<br>&gt;<br>&gt;however, I want this to work across many peoples machines (windows + <br>&gt;linux), and therefore having this file path is &quot;bad&quot;. I thought <br>&gt;about using an environment variable (ie. <br>&gt;maven.clover.license.path=${CLOVER_FOLDER}/licenses/clover.license), <br>&gt;however, been told that property files can't access environment <br>&gt;variables. Then thought about using an intranet, and let the license <br>&gt;be got at from something like <br>&gt;maven.clover.license.path=http://companyintranet:8888/clover (snip) <br>&gt;etc. etc., however, it didn't like this either.<br>&gt;<br>&gt;Any ideas?<br>&gt;<br>&gt;Problem2:<br>&gt;<br>&gt;I need to exclude certain files from being included in the coverage <br>&gt;calculation when using the clover plugin 1.3_01. The <br>&gt;maven.clover.excludes property didn't come in until clover 1.7. Any <br>&gt;ideas on the best way, while still using the same plugin?<br>&gt;<br>&gt;I'm thinking about moving files I don't what to be included in the <br>&gt;coverage into another folder, and then moving back after the <br>&gt;coverage calculation, however, this seems a hack.<br>&gt;<br>&gt;Many thanks,<br>&gt;<br>&gt;Mike<br>&gt;<br>&gt;<br>&gt;<br>&gt;---------------------------------------------------------------------<br>&gt;To unsubscribe, e-mail: [EMAIL PROTECTED]<br>&gt;For additional commands, e-mail: [EMAIL PROTECTED]<br>&gt;<br>



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

Reply via email to