You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2005/01/23 16:14:07 UTC
[jira] Closed: (MPJCOVERAGE-16) Using maven.jcoverage.instrumentation.exclude causes tests to fail
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org