[
https://issues.apache.org/jira/browse/LABS-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simone Gianni resolved LABS-286.
--------------------------------
Resolution: Fixed
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=263105
Solved using compile only, without pre-weaving. Should have been done anyway
for a number of reasons, but needs going to AspectJ 1.6.3, which is not yet on
Maven. Can live with it as long as we are 0.0.x.
> [maven] Compatibility with the Cobertura plugin
> -----------------------------------------------
>
> Key: LABS-286
> URL: https://issues.apache.org/jira/browse/LABS-286
> Project: Labs
> Issue Type: Improvement
> Components: Magma
> Affects Versions: Current
> Reporter: Simone Gianni
> Assignee: Simone Gianni
> Fix For: Current
>
>
> The Magma maven plugin needs to weave also main classes for tests, because
> there can be test aspects to be applied to main classes. Then the test goal
> places the test classes on top of the classpath so that weaved main classes
> takes precedence over the non weaved ones. This works fine as long as nothing
> else interferes.
> The Cobertura plugin however takes the test classes, instruments them for
> Cobertura, and place them in another folder. Then somehow the default
> surefire plugin uses that folder for running tests, while the Magma plugin
> holds on the standard test folder.
> As a result, Cobertura reports as if nothing has been executed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]