[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]