[
http://jira.codehaus.org/browse/SUREFIRE-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter moved MSUREFIRE-51 to SUREFIRE-233:
------------------------------------------------
Key: SUREFIRE-233 (was: MSUREFIRE-51)
Project: Maven Surefire (was: Maven 2.x Surefire Plugin)
> Add a configuration element which allows artifact exclusions
> ------------------------------------------------------------
>
> Key: SUREFIRE-233
> URL: http://jira.codehaus.org/browse/SUREFIRE-233
> Project: Maven Surefire
> Issue Type: New Feature
> Reporter: Jason van Zyl
> Assigned To: Brett Porter
>
> Taken from the message on the users mailing list:
> This smells like a scoping problem. ASM is not required for test execution
> (runtime) by Cobertura, ASM is only needed for swizzling the class files and
> that part is run during the process-classes phase. Cobertura itself needs it
> to compile and to instrument but ASM shouldn't end up in the test or runtime
> scopes/classpaths. I think this points to a tool scope or something akin to
> it.
> If that proves to be the case it's probably not going to be fixed for 2.0.3.
> A solution might be to add an artifact exclusion configuration to surefire
> (possibly only for forking mode). Then the lifecycle.xml for the Cobertura
> plug-in which controls the execution of surefire could exclude ASM during
> test runs. That could probably make it into the surefire plug-in's next
> release if that solution works. That's all I can think of off the top of my
> head.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira