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