Message:
The following issue has been closed.
Resolver: Emmanuel Venisse
Date: Sun, 23 Jan 2005 10:13 AM
Applied.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPJCOVERAGE-16
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPJCOVERAGE-16
Summary: Using maven.jcoverage.instrumentation.exclude causes tests to fail
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-jcoverage-plugin
Fix Fors:
1.0.10
Versions:
1.0.8
Assignee: Emmanuel Venisse
Reporter: Michael Gaffney
Created: Tue, 12 Oct 2004 12:37 PM
Updated: Sun, 23 Jan 2005 10:13 AM
Description:
If you specify a file set that should not be instrumented using the
'maven.jcoverage.instrumentation.exclude' property your tests will fail if any
of them depend on those files.
For example, I set
'maven.jcoverage.instrumentation.excludes=**/*Exception.class' so that my
Exception classes would not be calculated in my code coverage stats.
Unfortunately, my tests wouldn't run because all of my classes, including my
test classes, rely on the Exception classes.
This is fairly critical for me, so I've attached a patch.
---------------------------------------------------------------------
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]