[
https://jira.codehaus.org/browse/MCOBERTURA-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=290646#comment-290646
]
Robert Scholte commented on MCOBERTURA-83:
------------------------------------------
If the tests are run on two different folders, namely on {{target/classes}}
(the original sources) and on {{target/generated-sources/cobertura}} (the
instrumented sources) then that's the expected behavior. If we change this and
something goes wrong everybody will point at us.
If the instrumented classes end up in the jar, then that's a bug.
Exactly the same test-runs shouldn't run twice since SUREFIRE-257
> Can't run install and cobertura:cobertura without running test phase twice
> --------------------------------------------------------------------------
>
> Key: MCOBERTURA-83
> URL: https://jira.codehaus.org/browse/MCOBERTURA-83
> Project: Maven 2.x Cobertura Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Hugo Palma
> Priority: Critical
> Attachments: patch, reportOnlyAndInstrumentOutputDirPatch.patch,
> report-only.patch
>
>
> I want run as part of my CI process the goals:
> mvn install cobertura:cobertura
> The problem is that this causes the test phase to be ran twice.
> AFAIK, there's no way to do this and it's a major issue when doing CI.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email