The following comment has been added to this issue:
Author: Vincent Massol
Created: Thu, 10 Feb 2005 7:37 AM
Body:
General considerations:
I've always found this to be an issue with Maven reports: they not only create
a report but they do also perform the logic to create the report data. Thus if
you build your project and then generate the site you'll have run twice the
build logic that creates the report data.
For your problem:
The only solution I can think of is to have an execute.during.report flag (as
you mentioned) so that instrumentation would only happen if this flag is set.
If not, the report will take whatever data has already been generated in the
Clover database file (which could amount to nothing).
Now in term of sharing the compilation with the junit report, it will be
possible by doing the following:
- set maven.clover.execute.during.report = false
- call 'maven clover:on site' instead of 'maven site'
Would that be ok with you?
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPCLOVER-18?page=comments#action_29755
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPCLOVER-18
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPCLOVER-18
Summary: Stop Clover re-running tests if they've already run
Type: Wish
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-clover-plugin
Versions:
1.6
Assignee: Vincent Massol
Reporter: Matt Read
Created: Fri, 25 Jun 2004 1:00 PM
Updated: Thu, 10 Feb 2005 7:37 AM
Description:
If both the junit-report and clover-report are registered the tests execute
twice. Would it be possible to either provide a setting to disable this or
detect whether tests have already been run?
This might be similar to the property in the Cactus plugin -
cactus.execute.during.report.
Thanks,
Matt.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]