[
http://jira.codehaus.org/browse/MCOBERTURA-145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264401#action_264401
]
Mirko Friedenhagen edited comment on MCOBERTURA-145 at 4/22/11 5:41 AM:
------------------------------------------------------------------------
I propably found the culprit by reading the diff between
http://svn.codehaus.org/mojo/tags/cobertura-maven-plugin-2.4/src/main and
http://svn.codehaus.org/mojo/tags/cobertura-maven-plugin-2.5/src/main :
In revision 18883 in
{{src/main/java/org/codehaus/mojo/cobertura/CoberturaReportMojo.java}}
{noformat}
@@ -250,7 +354,7 @@
*/
public String getOutputName()
{
- return "cobertura/index";
+ return "index";
}
{noformat}
So now cobertura report generation will be skipped on {{mvn site}}, may be
forced by {{mvn cobertura:cobertura}} and works in the IT because only a
minimal site without project-reports is generated.
was (Author: mfriedenhagen):
I propably found the culprit by reading the diff between
http://svn.codehaus.org/mojo/tags/cobertura-maven-plugin-2.4/src/main and
http://svn.codehaus.org/mojo/tags/cobertura-maven-plugin-2.5/src/main :
In revision 18883 in
{{src/main/java/org/codehaus/mojo/cobertura/CoberturaReportMojo.java}}
{noformat}
@@ -250,7 +354,7 @@
*/
public String getOutputName()
{
- return "cobertura/index";
+ return "index";
}
{noformat}
So now cobertura report generation will be skipped on {{mvn site}}, may be
forced by {{mvn cobertura:cobertura}} and works in the IT because the site
generation is incomplete.
> Regression: report will not be rendered on invocation of mvn clean install
> site for a multi module project.
> -----------------------------------------------------------------------------------------------------------
>
> Key: MCOBERTURA-145
> URL: http://jira.codehaus.org/browse/MCOBERTURA-145
> Project: Maven 2.x Cobertura Plugin
> Issue Type: Bug
> Affects Versions: 2.5
> Environment: maven-3.0.3, maven-cobertura-plugin 2.5
> Reporter: Mirko Friedenhagen
> Attachments: cobertura-2.4-x-with-project-reports.log,
> cobertura-2.4-x.log, cobertura-2.4.log,
> cobertura-2.5-x-with-project-reports.log,
> cobertura-2.5-x-without-project-reports.log, cobertura-2.5-x.log,
> cobertura-2.5.log
>
>
> When switching from 2.4 to 2.5 invocation of {{mvn clean install site}} will
> not render neither the html nor the xml report anymore in a multimodule
> project. A test project may be found at:
> https://github.com/mfriedenhagen/multi-module-sample/commit/62c5ec2d8bfc1c0420f7e6a701032300894eaa98.
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email